Use MySQL as the default buffer SQL syntax.
This commit is contained in:
parent
48d2f7bb77
commit
6e695b0557
2 changed files with 12 additions and 2 deletions
|
@ -74,7 +74,12 @@ endif
|
||||||
|
|
||||||
syn cluster htmlPreproc add=phpRegion
|
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
|
syn sync clear
|
||||||
unlet! b:current_syntax
|
unlet! b:current_syntax
|
||||||
|
|
|
@ -74,7 +74,12 @@ endif
|
||||||
|
|
||||||
syn cluster htmlPreproc add=phpRegion
|
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
|
syn sync clear
|
||||||
unlet! b:current_syntax
|
unlet! b:current_syntax
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue