From 95d82fdb668b746ac100a8b7d2aca38038150707 Mon Sep 17 00:00:00 2001 From: Adam Stankiewicz Date: Tue, 29 Dec 2020 19:44:40 +0100 Subject: Update --- syntax/graphql.vim | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) (limited to 'syntax/graphql.vim') diff --git a/syntax/graphql.vim b/syntax/graphql.vim index a41f8251..a5351b08 100644 --- a/syntax/graphql.vim +++ b/syntax/graphql.vim @@ -94,6 +94,8 @@ hi def link graphqlStructure Structure hi def link graphqlType Type hi def link graphqlVariable Identifier -syn sync minlines=500 +if !get(b:, 'graphql_nested_syntax') + syn sync minlines=500 +endif let b:current_syntax = 'graphql' -- cgit v1.2.3