diff options
author | Adam Stankiewicz <sheerun@sher.pl> | 2020-12-29 19:44:40 +0100 |
---|---|---|
committer | Adam Stankiewicz <sheerun@sher.pl> | 2020-12-29 19:44:40 +0100 |
commit | 95d82fdb668b746ac100a8b7d2aca38038150707 (patch) | |
tree | 19f2e80acbab5efe1d35630faafb5e24d7230fd8 /syntax/graphql.vim | |
parent | 73c518717741fb3ebb6822645d38f37ffae7c19b (diff) | |
download | vim-polyglot-95d82fdb668b746ac100a8b7d2aca38038150707.tar.gz vim-polyglot-95d82fdb668b746ac100a8b7d2aca38038150707.zip |
Update
Diffstat (limited to 'syntax/graphql.vim')
-rw-r--r-- | syntax/graphql.vim | 4 |
1 files changed, 3 insertions, 1 deletions
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' |