diff options
Diffstat (limited to 'autoload/dart.vim')
-rw-r--r-- | autoload/dart.vim | 6 |
1 files changed, 2 insertions, 4 deletions
diff --git a/autoload/dart.vim b/autoload/dart.vim index 82859463..39ebc9e3 100644 --- a/autoload/dart.vim +++ b/autoload/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 function! s:error(text) abort echohl Error @@ -186,3 +183,4 @@ function! dart#setModifiable() abort setlocal nomodifiable endif endfunction +endif |