mirror of
https://github.com/jelera/vim-javascript-syntax.git
synced 2025-12-14 16:37: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
|
||||
setlocal iskeyword+=$
|
||||
|
||||
"" Remove dollar sign from identifier when embedded in a PHP file
|
||||
if &filetype == 'php'
|
||||
setlocal iskeyword-=$
|
||||
endif
|
||||
|
||||
syntax sync fromstart
|
||||
|
||||
"" syntax coloring for Node.js shebang line
|
||||
|
||||
Reference in New Issue
Block a user