blob: 46102a7d5334a2cb8add525d7fec8b8528914aac (
plain) (
blame)
1
2
3
4
5
6
7
|
if !has_key(g:polyglot_is_disabled, 'javascript')
finish
endif
syntax match jsDocTags contained /@\(link\|method[oO]f\|ngdoc\|ng[iI]nject\|restrict\)/ nextgroup=jsDocParam skipwhite
syntax match jsDocType contained "\%(#\|\$\|\w\|\"\|-\|\.\|:\|\/\)\+" nextgroup=jsDocParam skipwhite
syntax match jsDocParam contained "\%(#\|\$\|\w\|\"\|-\|\.\|:\|{\|}\|\/\|\[\|]\|=\)\+"
|