Silent call to unlet! + spellcheck updates.

Conflicts:

	syntax/php.vim

These were borrowed from paulyg/Vim-PHP-Stuff.
This commit is contained in:
Stan Angeloff 2012-04-16 16:11:40 +03:00
parent 845c961137
commit 02a3410864

View file

@ -60,7 +60,9 @@ if !exists("main_syntax")
endif
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
if !exists("php_sync_method")
@ -76,7 +78,7 @@ syn cluster htmlPreproc add=phpRegion
syn include @sqlTop syntax/sql.vim
syn sync clear
unlet b:current_syntax
unlet! b:current_syntax
syn cluster sqlTop remove=sqlString,sqlComment
if exists("php_sql_query")
syn cluster phpAddStrings contains=@sqlTop
@ -88,7 +90,7 @@ endif
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
" Magic Constants