Use MySQL as the default buffer SQL syntax.

This commit is contained in:
Stan Angeloff 2013-02-25 09:05:40 +02:00
parent 48d2f7bb77
commit 6e695b0557
2 changed files with 12 additions and 2 deletions

View file

@ -74,7 +74,12 @@ endif
syn cluster htmlPreproc add=phpRegion
syn include @sqlTop syntax/mysql.vim
" Use MySQL as the default SQL syntax file.
" See https://github.com/StanAngeloff/php.vim/pull/1
if !exists('b:sql_type_override') && !exists('g:sql_type_default')
let b:sql_type_override='mysql'
endif
syn include @sqlTop syntax/sql.vim
syn sync clear
unlet! b:current_syntax

View file

@ -74,7 +74,12 @@ endif
syn cluster htmlPreproc add=phpRegion
syn include @sqlTop syntax/mysql.vim
" Use MySQL as the default SQL syntax file.
" See https://github.com/StanAngeloff/php.vim/pull/1
if !exists('b:sql_type_override') && !exists('g:sql_type_default')
let b:sql_type_override='mysql'
endif
syn include @sqlTop syntax/sql.vim
syn sync clear
unlet! b:current_syntax