summaryrefslogtreecommitdiffstats
path: root/indent/d.vim
diff options
context:
space:
mode:
Diffstat (limited to 'indent/d.vim')
-rw-r--r--indent/d.vim6
1 files changed, 2 insertions, 4 deletions
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