summaryrefslogtreecommitdiffstats
path: root/syntax/d.vim
diff options
context:
space:
mode:
Diffstat (limited to '')
-rw-r--r--syntax/d.vim6
1 files changed, 2 insertions, 4 deletions
diff --git a/syntax/d.vim b/syntax/d.vim
index 8550c256..4e14cefa 100644
--- a/syntax/d.vim
+++ b/syntax/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 syntax file for the D programming language (version 1.076 and 2.069).
"
" Language: D
@@ -575,3 +572,4 @@ syn keyword dAsmOpCode contained adc
let &cpo = s:cpo_save
unlet s:cpo_save
+endif