summaryrefslogtreecommitdiffstats
path: root/after/syntax/php/graphql.vim
diff options
context:
space:
mode:
authorAdam Stankiewicz <sheerun@sher.pl>2020-12-29 19:44:40 +0100
committerAdam Stankiewicz <sheerun@sher.pl>2020-12-29 19:44:40 +0100
commit95d82fdb668b746ac100a8b7d2aca38038150707 (patch)
tree19f2e80acbab5efe1d35630faafb5e24d7230fd8 /after/syntax/php/graphql.vim
parent73c518717741fb3ebb6822645d38f37ffae7c19b (diff)
downloadvim-polyglot-95d82fdb668b746ac100a8b7d2aca38038150707.tar.gz
vim-polyglot-95d82fdb668b746ac100a8b7d2aca38038150707.zip
Update
Diffstat (limited to 'after/syntax/php/graphql.vim')
-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