Skip to content

Commit 4261fd3

Browse files
committed
Add graphqlTemplateString to jsExpression cluster
For pangloss/vim-javascript, we need to add graphqlTemplateString to the jsExpression cluster. This fixes comment-based syntax tagging when this JavaScript plugin is used.
1 parent fad337d commit 4261fd3

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

after/syntax/javascript/graphql.vim

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -48,7 +48,7 @@ if graphql#has_syntax_group('jsTemplateExpression')
4848
hi def link graphqlTaggedTemplate jsTaggedTemplate
4949
hi def link graphqlTemplateExpression jsTemplateExpression
5050

51-
syn cluster jsExpression add=graphqlTaggedTemplate
51+
syn cluster jsExpression add=graphqlTemplateString,graphqlTaggedTemplate
5252
syn cluster graphqlTaggedTemplate add=graphqlTemplateString
5353
elseif graphql#has_syntax_group('javaScriptStringT')
5454
" runtime/syntax/javascript.vim

0 commit comments

Comments
 (0)