summaryrefslogtreecommitdiffstats
path: root/extras/ngdoc.vim
diff options
context:
space:
mode:
authorAdam Stankiewicz <sheerun@sher.pl>2019-09-04 17:39:23 +0200
committerAdam Stankiewicz <sheerun@sher.pl>2019-09-04 17:39:23 +0200
commitae18284e5af128e1fca0b42f284b558dd7dce73d (patch)
treeeb065c770b2f4985f5677829c1550d0f7067acea /extras/ngdoc.vim
parente3024f21fca230b030fb2fe2fde4e768fb8205b3 (diff)
downloadvim-polyglot-ae18284e5af128e1fca0b42f284b558dd7dce73d.tar.gz
vim-polyglot-ae18284e5af128e1fca0b42f284b558dd7dce73d.zip
Disable jsx when ts or js is disabled, closes #414v3.10.0
Diffstat (limited to 'extras/ngdoc.vim')
-rw-r--r--extras/ngdoc.vim7
1 files changed, 0 insertions, 7 deletions
diff --git a/extras/ngdoc.vim b/extras/ngdoc.vim
index b4f2e006..90eceadf 100644
--- a/extras/ngdoc.vim
+++ b/extras/ngdoc.vim
@@ -5,10 +5,3 @@ 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\|\"\|-\|\.\|:\|{\|}\|\/\|\[\|]\|=\)\+"
-if exists('g:polyglot_disabled') && index(g:polyglot_disabled, 'javascript') != -1
- 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\|\"\|-\|\.\|:\|{\|}\|\/\|\[\|]\|=\)\+"