sql_iabbr 2 : convert SQL keywords uppercase automatically.
| script karma
Downloaded by 574
Comments, bugs, improvements
|With this ftplugin you can type "create table foo (foo_id int);" and get "CREATE TABLE foo (foo_id INT);". It is based on both sql.vim and the output from postgresql's \dT command while in psql. That makes it a tad bit tailored to postgresql, but it will work with any SQL compliant dbms.
I probably won't upload every update I make immediately so the most current version may be found on github.
earlier versions of this plugin are here http://www.vim.org/scripts/script.php?script_id=305 I am unable to contact Michael Brailsford so have forked the script with my changes. Changes have currently amounted to adding reserved words that weren't present.
|copy to ~/.vim/ftplugin/sql, and you're good to go. |
Rating scripts is only available on the
script versions (upload new version)
Click on the package to download.
ip used for rating: 220.127.116.11