We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent fccd639 commit 1c23964Copy full SHA for 1c23964
syntax/php.vim
@@ -85,6 +85,10 @@ if !exists("main_syntax")
85
let main_syntax = 'php'
86
endif
87
88
+" Save the 'iskeyword' setting before including the HTML syntax.
89
+" See https://github.com/pangloss/vim-javascript/issues/153
90
+let s:iskeyword_save = &iskeyword
91
+
92
if !exists("php_html_load")
93
let php_html_load=1
94
@@ -816,6 +820,9 @@ endif
816
820
delcommand SynFold
817
821
let b:current_syntax = "php"
818
822
823
+let &iskeyword = s:iskeyword_save
824
+unlet s:iskeyword_save
825
819
826
if main_syntax == 'php'
827
unlet main_syntax
828
0 commit comments