mirror of
https://github.com/jelera/vim-javascript-syntax.git
synced 2025-12-15 00:47:09 +08:00
Remove $ from iskeyword in PHP files
This commit is contained in:
@@ -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