blob: 9936387b74f73310e8a99e2c3dbac4a39f06c012 (
plain) (
blame)
1
2
3
4
5
6
7
|
if !polyglot#util#IsEnabled('javascript', expand('<sfile>:p'))
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\|\"\|-\|\.\|:\|{\|}\|\/\|\[\|]\|=\)\+"
|