mirror of
https://github.com/jelera/vim-javascript-syntax.git
synced 2026-11-01 01:56:20 +08:00
Merge pull request #21 from tommcdo/master
Remove $ from iskeyword in PHP files
This commit is contained in:
commit
5f7d55e3d9
1 file changed
+5
@@ -26,6 +26,11 @@ endif
|
|||||||
"" dollar sign is permitted anywhere in an identifier
|
"" dollar sign is permitted anywhere in an identifier
|
||||||
setlocal iskeyword+=$
|
setlocal iskeyword+=$
|
||||||
|
|
||||||
|
"" Remove dollar sign from identifier when embedded in a PHP file
|
||||||
|
if &filetype == 'php'
|
||||||
|
setlocal iskeyword-=$
|
||||||
|
endif
|
||||||
|
|
||||||
syntax sync fromstart
|
syntax sync fromstart
|
||||||
|
|
||||||
"" syntax coloring for Node.js shebang line
|
"" syntax coloring for Node.js shebang line
|
||||||
|
|||||||
Reference in new issue
Block a user