summaryrefslogtreecommitdiffstats
path: root/after
diff options
context:
space:
mode:
authorAdam Stankiewicz <sheerun@sher.pl>2017-09-27 22:09:06 +0200
committerAdam Stankiewicz <sheerun@sher.pl>2017-09-27 22:09:06 +0200
commitd5e38fa97bc50a93a66473d6cd7072fbcbadda57 (patch)
tree74f0d0c8063d729d5394c192750a5c60097bf635 /after
parent7673a61990d4062adebbe49f71067b0aad90382a (diff)
downloadvim-polyglot-d5e38fa97bc50a93a66473d6cd7072fbcbadda57.tar.gz
vim-polyglot-d5e38fa97bc50a93a66473d6cd7072fbcbadda57.zip
Remove graphql syntax as it causes issues, closes #236
Diffstat (limited to 'after')
-rw-r--r--after/syntax/javascript/graphql.vim21
1 files changed, 0 insertions, 21 deletions
diff --git a/after/syntax/javascript/graphql.vim b/after/syntax/javascript/graphql.vim
deleted file mode 100644
index 58c1de08..00000000
--- a/after/syntax/javascript/graphql.vim
+++ /dev/null
@@ -1,21 +0,0 @@
-if !exists('g:polyglot_disabled') || index(g:polyglot_disabled, 'graphql') == -1
-
-if exists('b:current_syntax')
- let s:current_syntax = b:current_syntax
- unlet b:current_syntax
-endif
-syn include @GraphQLSyntax syntax/graphql.vim
-if exists('s:current_syntax')
- let b:current_syntax = s:current_syntax
-endif
-
-syntax region graphqlTemplateString start=+`+ skip=+\\\(`\|$\)+ end=+`+ contains=@GraphQLSyntax,jsTemplateExpression,jsSpecial extend
-exec 'syntax match graphqlTaggedTemplate +\%(' . join(g:graphql_javascript_tags, '\|') . '\)\%(`\)\@=+ nextgroup=graphqlTemplateString'
-
-hi def link graphqlTemplateString jsTemplateString
-hi def link graphqlTaggedTemplate jsTaggedTemplate
-
-syn cluster jsExpression add=graphqlTaggedTemplate
-syn cluster graphqlTaggedTemplate add=graphqlTemplateString
-
-endif