Skip to content

Commit 31f6eff

Browse files
committed
Merge pull request #9 from dsjbirch/master
This fixes the issue we discussed about semicolons.
2 parents 2648939 + 47ec99e commit 31f6eff

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

syntax/javascript.vim

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -23,7 +23,7 @@ if version < 600 && exists("javaScript_fold")
2323
unlet javaScript_fold
2424
endif
2525

26-
"" dollar sigh is permittd anywhere in an identifier
26+
"" dollar sign is permitted anywhere in an identifier
2727
setlocal iskeyword+=$
2828

2929
syntax sync fromstart
@@ -182,7 +182,7 @@ syntax region javaScriptFuncName contained matchgroup=javaScriptFuncName
182182
syn match javaScriptBraces "[{}\[\]]"
183183
syn match javaScriptParens "[()]"
184184
syn match javaScriptOpSymbols "=\{1,3}\|!==\|!=\|<\|>\|>=\|<=\|++\|+=\|--\|-="
185-
syn match javaScriptEndColons "[;,]$"
185+
syn match javaScriptEndColons "[;,]"
186186
syn match javaScriptLogicSymbols "\(&&\)\|\(||\)"
187187

188188
" JavaScriptFold Function {{{

0 commit comments

Comments
 (0)