File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -32,6 +32,7 @@ syntax sync fromstart
3232" " JavaScript comments
3333syntax keyword javaScriptCommentTodo TODO FIXME XXX TBD contained
3434syntax region javaScriptLineComment start =+ \/\/ + end =+ $+ keepend contains =javaScriptCommentTodo,@Spell
35+ syntax region javaScriptEnvComment start =+ ^#!+ end =+ $+ keepend contains =javaScriptCommentTodo,@Spell
3536syntax region javaScriptLineComment start =+ ^\s *\/\/ + skip =+ \n\s *\/\/ + end =+ $+ keepend contains =javaScriptCommentTodo,@Spell fold
3637syntax region javaScriptCvsTag start =" \$\c id:" end =" \$ " oneline contained
3738syntax region javaScriptComment start =" /\* " end =" \* /" contains =javaScriptCommentTodo,javaScriptCvsTag,@Spell fold
@@ -199,6 +200,7 @@ if version >= 508 || !exists("did_javascript_syn_inits")
199200 endif
200201 HiLink javaScriptComment Comment
201202 HiLink javaScriptLineComment Comment
203+ HiLink javaScriptEnvComment Comment
202204 HiLink javaScriptDocComment Comment
203205 HiLink javaScriptCommentTodo Todo
204206 HiLink javaScriptCvsTag Function
You can’t perform that action at this time.
0 commit comments