summaryrefslogtreecommitdiffstats
path: root/after/syntax/php
diff options
context:
space:
mode:
Diffstat (limited to 'after/syntax/php')
-rw-r--r--after/syntax/php/graphql.vim4
1 files changed, 4 insertions, 0 deletions
diff --git a/after/syntax/php/graphql.vim b/after/syntax/php/graphql.vim
index d26de073..3c94bcb8 100644
--- a/after/syntax/php/graphql.vim
+++ b/after/syntax/php/graphql.vim
@@ -29,7 +29,11 @@ if exists('b:current_syntax')
let s:current_syntax = b:current_syntax
unlet b:current_syntax
endif
+
+let b:graphql_nested_syntax = 1
syn include @GraphQLSyntax syntax/graphql.vim
+unlet b:graphql_nested_syntax
+
if exists('s:current_syntax')
let b:current_syntax = s:current_syntax
endif