2019-03-04 09:28:35 +01:00
|
|
|
if exists('g:polyglot_disabled') && index(g:polyglot_disabled, 'javascript') != -1
|
|
|
|
finish
|
|
|
|
endif
|
|
|
|
|
2016-07-26 14:04:56 +02:00
|
|
|
syntax match jsDocTags contained /@\(link\|method[oO]f\|ngdoc\|ng[iI]nject\|restrict\)/ nextgroup=jsDocParam skipwhite
|
2016-07-30 13:18:40 +02:00
|
|
|
syntax match jsDocType contained "\%(#\|\$\|\w\|\"\|-\|\.\|:\|\/\)\+" nextgroup=jsDocParam skipwhite
|
|
|
|
syntax match jsDocParam contained "\%(#\|\$\|\w\|\"\|-\|\.\|:\|{\|}\|\/\|\[\|]\|=\)\+"
|