diff options
Diffstat (limited to 'ftplugin/dart.vim')
-rw-r--r-- | ftplugin/dart.vim | 6 |
1 files changed, 2 insertions, 4 deletions
diff --git a/ftplugin/dart.vim b/ftplugin/dart.vim index 71114b0a..23b709c0 100644 --- a/ftplugin/dart.vim +++ b/ftplugin/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_ftplugin') finish endif @@ -31,3 +28,4 @@ setlocal includeexpr=dart#resolveUri(v:fname) setlocal isfname+=: let b:undo_ftplugin = 'setl et< fo< sw< sts< com< cms< inex< isf<' +endif |