On Sat, Apr 12, 2014 at 12:22 AM, Gang Liang <[email protected]>wrote:
> Here is a minor request for your consideration: > > Postgresql (http://www.postgresql.org/) is one of the best open source > database solutions. Its source files might have an extension of either .sql > or .pgsql. Here, I would like to request to add its syntax file pgsql.vim > to the $VIMRUNTIME/syntax directory. In addition, $VIMRUNTIME/filetype.vim > would be slightly modified to recognize the .pgsql file extension. > > As a FYI . If you add syntax\pgsql.vim, and you want Vim to default to using this syntax file instead of the Oracle (plsql.vim) default, then you can add the following to your .vimrc: let g:sql_type_default = 'pgsql' To change this temporarily for a buffer you can use: :SQLSetType :SQL<tab> <tab> - will list the options available to choose from (including pgsql) :SQLSetType - with no parameter, restored to default (Oracle) David -- -- You received this message from the "vim_dev" maillist. Do not top-post! Type your reply below the text you are replying to. For more information, visit http://www.vim.org/maillist.php --- You received this message because you are subscribed to the Google Groups "vim_dev" group. To unsubscribe from this group and stop receiving emails from it, send an email to [email protected]. For more options, visit https://groups.google.com/d/optout.
