mirror of
https://github.com/jelera/vim-javascript-syntax.git
synced 2025-12-08 05:34:49 +08:00
Merge pull request #9 from dsjbirch/master
This fixes the issue we discussed about semicolons.
This commit is contained in:
@@ -23,7 +23,7 @@ if version < 600 && exists("javaScript_fold")
|
||||
unlet javaScript_fold
|
||||
endif
|
||||
|
||||
"" dollar sigh is permittd anywhere in an identifier
|
||||
"" dollar sign is permitted anywhere in an identifier
|
||||
setlocal iskeyword+=$
|
||||
|
||||
syntax sync fromstart
|
||||
@@ -182,7 +182,7 @@ syntax region javaScriptFuncName contained matchgroup=javaScriptFuncName
|
||||
syn match javaScriptBraces "[{}\[\]]"
|
||||
syn match javaScriptParens "[()]"
|
||||
syn match javaScriptOpSymbols "=\{1,3}\|!==\|!=\|<\|>\|>=\|<=\|++\|+=\|--\|-="
|
||||
syn match javaScriptEndColons "[;,]$"
|
||||
syn match javaScriptEndColons "[;,]"
|
||||
syn match javaScriptLogicSymbols "\(&&\)\|\(||\)"
|
||||
|
||||
" JavaScriptFold Function {{{
|
||||
|
||||
Reference in New Issue
Block a user