add new annotation type

This commit is contained in:
gaara
2017-06-08 14:16:55 +08:00
committed by GitHub
parent 490a0fbb7c
commit 3a1bc19fb1

View File

@@ -53,7 +53,7 @@ syntax keyword javaScriptExceptions try catch throw finally Error EvalError
syntax keyword javaScriptReserved abstract enum int short boolean export interface static byte extends long super char final native synchronized class float package throws const goto private transient debugger implements protected volatile double import public
"}}}
" Comments {{{
syntax keyword javaScriptCommentTodo TODO FIXME XXX TBD contained
syntax keyword javaScriptCommentTodo TODO FIXME XXX TBD OPTIMIZE HACK REVIEW contained
syntax match javaScriptLineComment "\/\/.*" contains=@Spell,javaScriptCommentTodo
syntax match javaScriptCommentSkip "^[ \t]*\*\($\|[ \t]\+\)"
syntax region javaScriptComment start="/\*" end="\*/" contains=@Spell,javaScriptCommentTodo