Merge pull request #38 from Fake51/master

Setting iskeyword unconditionally created issues for me
This commit is contained in:
Jose Elera
2014-01-14 19:40:34 -08:00

View File

@@ -23,12 +23,9 @@ if version < 600 && exists("javaScript_fold")
unlet javaScript_fold
endif
"" dollar sign is permitted anywhere in an identifier
setlocal iskeyword+=$
"" Remove dollar sign from identifier when embedded in a PHP file
if &filetype == 'php'
setlocal iskeyword-=$
if &filetype == 'javascript'
setlocal iskeyword+=$
endif
syntax sync fromstart