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