diff options
Diffstat (limited to 'indent/dart.vim')
-rw-r--r-- | indent/dart.vim | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/indent/dart.vim b/indent/dart.vim index 8d685df9..1900e99c 100644 --- a/indent/dart.vim +++ b/indent/dart.vim @@ -1,5 +1,7 @@ -if !exists('g:polyglot_disabled') || index(g:polyglot_disabled, 'dart') == -1 - +if exists('g:polyglot_disabled') && index(g:polyglot_disabled, 'dart') != -1 + finish +endif + if exists('b:did_indent') finish endif @@ -35,5 +37,3 @@ function! DartIndent() return indentTo endfunction - -endif |