Fixed javaScriptEndColons to recognise semicolons that separate to statements on a single line.

This commit is contained in:
David Stephen James Birch
2012-05-12 20:06:47 +01:00
parent 412bbfb4e3
commit 36b33f2e9e

View File

@@ -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 {{{