Merge pull request #9 from dsjbirch/master

This fixes the issue we discussed about semicolons.
This commit is contained in:
Jose Elera Campana
2012-08-13 09:43:15 -07:00

View File

@@ -23,7 +23,7 @@ if version < 600 && exists("javaScript_fold")
unlet javaScript_fold unlet javaScript_fold
endif endif
"" dollar sigh is permittd anywhere in an identifier "" dollar sign is permitted anywhere in an identifier
setlocal iskeyword+=$ setlocal iskeyword+=$
syntax sync fromstart syntax sync fromstart
@@ -182,7 +182,7 @@ syntax region javaScriptFuncName contained matchgroup=javaScriptFuncName
syn match javaScriptBraces "[{}\[\]]" syn match javaScriptBraces "[{}\[\]]"
syn match javaScriptParens "[()]" syn match javaScriptParens "[()]"
syn match javaScriptOpSymbols "=\{1,3}\|!==\|!=\|<\|>\|>=\|<=\|++\|+=\|--\|-=" syn match javaScriptOpSymbols "=\{1,3}\|!==\|!=\|<\|>\|>=\|<=\|++\|+=\|--\|-="
syn match javaScriptEndColons "[;,]$" syn match javaScriptEndColons "[;,]"
syn match javaScriptLogicSymbols "\(&&\)\|\(||\)" syn match javaScriptLogicSymbols "\(&&\)\|\(||\)"
" JavaScriptFold Function {{{ " JavaScriptFold Function {{{