sql.vim : Syntax file for Sybase SQL Anywhere
| script karma
Downloaded by 2808
Comments, bugs, improvements
script versions (upload new version)
|Syntax file for Sybase SQL Anywhere (Adaptive Server Anywhere)
Attention Vim7 users
This file has been renamed to sqlanywhere.vim and version 9.0.2 is included with Vim 7.0.
A new file syntax\sql.vim has been created which manages the appropriate loading of any sql syntax file. See :h sql.txt for more details.
- internal functions
- internal stored procedures,
- TSQL compatability stored procedures
- external stored procedures/functions,
- web services (HTML and XML support)
- all database options
Assuming you are editing a .sql file (Vim sets the filetype to be SQL), then by default Vim assumes Oracle syntax.
This syntax file works in conjunction with ftplugin/sql.vim, indent/sql.vim and syntax/sql.vim to load the correct SQL dialect.
To change from Oracle syntax to a different SQL dialect you can initiate this by running:
:SQLSetType <tab key> to cycle through all supported SQL dialects.
:SQLSetType sqla<tab key> to cycle through all supported SQL dialects starting with "sqla".
Or to change Vim's default Oracle dialect to SQL Anywhere you can put the following in your .vimrc:
let g:sql_type_default = 'sqlanywhere'
To read more on these options see:
|Put <sql.vim> into your .vim/syntax or vimfiles/syntax directory |
Click on the package to download.
ip used for rating: 22.214.171.124