Silent call to unlet! + spellcheck updates.
Conflicts: syntax/php.vim These were borrowed from paulyg/Vim-PHP-Stuff.
This commit is contained in:
parent
845c961137
commit
02a3410864
1 changed files with 5 additions and 3 deletions
|
@ -60,7 +60,9 @@ if !exists("main_syntax")
|
||||||
endif
|
endif
|
||||||
|
|
||||||
runtime! syntax/html.vim
|
runtime! syntax/html.vim
|
||||||
unlet b:current_syntax
|
unlet! b:current_syntax
|
||||||
|
" HTML syntax file turns on spelling for all top level words, we attempt to turn off
|
||||||
|
syntax spell default
|
||||||
|
|
||||||
" Set sync method if none declared
|
" Set sync method if none declared
|
||||||
if !exists("php_sync_method")
|
if !exists("php_sync_method")
|
||||||
|
@ -76,7 +78,7 @@ syn cluster htmlPreproc add=phpRegion
|
||||||
syn include @sqlTop syntax/sql.vim
|
syn include @sqlTop syntax/sql.vim
|
||||||
|
|
||||||
syn sync clear
|
syn sync clear
|
||||||
unlet b:current_syntax
|
unlet! b:current_syntax
|
||||||
syn cluster sqlTop remove=sqlString,sqlComment
|
syn cluster sqlTop remove=sqlString,sqlComment
|
||||||
if exists("php_sql_query")
|
if exists("php_sql_query")
|
||||||
syn cluster phpAddStrings contains=@sqlTop
|
syn cluster phpAddStrings contains=@sqlTop
|
||||||
|
@ -88,7 +90,7 @@ endif
|
||||||
|
|
||||||
syn case match
|
syn case match
|
||||||
|
|
||||||
" Superblobals
|
" Superglobals
|
||||||
syn keyword phpSuperglobals GLOBALS _GET _POST _REQUEST _FILES _COOKIE _SERVER _SESSION _ENV HTTP_RAW_POST_DATA php_errormsg http_response_header argc argv contained
|
syn keyword phpSuperglobals GLOBALS _GET _POST _REQUEST _FILES _COOKIE _SERVER _SESSION _ENV HTTP_RAW_POST_DATA php_errormsg http_response_header argc argv contained
|
||||||
|
|
||||||
" Magic Constants
|
" Magic Constants
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue