summaryrefslogtreecommitdiffstats
path: root/indent/dart.vim
diff options
context:
space:
mode:
Diffstat (limited to '')
-rw-r--r--indent/dart.vim6
1 files changed, 2 insertions, 4 deletions
diff --git a/indent/dart.vim b/indent/dart.vim
index 1900e99c..b7a932f9 100644
--- a/indent/dart.vim
+++ b/indent/dart.vim
@@ -1,7 +1,4 @@
-if exists('g:polyglot_disabled') && index(g:polyglot_disabled, 'dart') != -1
- finish
-endif
-
+if !exists('g:polyglot_disabled') || index(g:polyglot_disabled, 'dart') == -1
if exists('b:did_indent')
finish
endif
@@ -37,3 +34,4 @@ function! DartIndent()
return indentTo
endfunction
+endif