From 48e07bc5014fecfdff24f75124a65634c216c9e2 Mon Sep 17 00:00:00 2001 From: Adam Stankiewicz Date: Fri, 6 Sep 2019 15:54:31 +0200 Subject: Improve guard to support concatenated files --- syntax/apiblueprint.vim | 6 ++---- 1 file changed, 2 insertions(+), 4 deletions(-) (limited to 'syntax/apiblueprint.vim') diff --git a/syntax/apiblueprint.vim b/syntax/apiblueprint.vim index 282fa0fa..a2b21b35 100644 --- a/syntax/apiblueprint.vim +++ b/syntax/apiblueprint.vim @@ -1,7 +1,4 @@ -if exists('g:polyglot_disabled') && index(g:polyglot_disabled, 'apiblueprint') != -1 - finish -endif - +if !exists('g:polyglot_disabled') || index(g:polyglot_disabled, 'apiblueprint') == -1 runtime! syntax/markdown.vim unlet! b:current_syntax @@ -36,3 +33,4 @@ highlight default link apibActionRelationKey Identifier let b:current_syntax = 'apiblueprint' +endif -- cgit v1.2.3