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 --- indent/d.vim | 6 ++---- 1 file changed, 2 insertions(+), 4 deletions(-) (limited to 'indent/d.vim') diff --git a/indent/d.vim b/indent/d.vim index 13a6ddf8..878b4c28 100644 --- a/indent/d.vim +++ b/indent/d.vim @@ -1,7 +1,4 @@ -if exists('g:polyglot_disabled') && index(g:polyglot_disabled, 'dlang') != -1 - finish -endif - +if !exists('g:polyglot_disabled') || index(g:polyglot_disabled, 'dlang') == -1 " Vim indent file for the D programming language (version 1.076 and 2.063). " " Language: D @@ -79,3 +76,4 @@ function GetDIndent() return cind endfunction +endif -- cgit v1.2.3