sqlhana.vim : sqlhana.vim : Syntax file for SAP HANA
| script karma
Downloaded by 479
Comments, bugs, improvements
script versions (upload new version)
|Syntax file for SAP HANA
Supports all SQL elements of the SAP HANA SP6 release build 60.
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 sqlh<tab key> to cycle through all supported SQL dialects starting with "sqlh".
Or to change Vim's default Oracle dialect to HANA you can put the following in your .vimrc:
let g:sql_type_default = 'sqlhana'
To read more on these options see:
|Put <sqlhana.vim> into your .vim/syntax or vimfiles/syntax directory
Click on the package to download.
ip used for rating: 126.96.36.199