diff options
Diffstat (limited to 'autoload/elm.vim')
-rw-r--r-- | autoload/elm.vim | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/autoload/elm.vim b/autoload/elm.vim index 00b15947..d58ddaab 100644 --- a/autoload/elm.vim +++ b/autoload/elm.vim @@ -1,5 +1,7 @@ -if !exists('g:polyglot_disabled') || index(g:polyglot_disabled, 'elm') == -1 - +if exists('g:polyglot_disabled') && index(g:polyglot_disabled, 'elm') != -1 + finish +endif + let s:errors = [] function! s:elmOracle(...) abort @@ -381,5 +383,3 @@ function! s:ExecuteInRoot(cmd) abort return l:out endfunction - -endif |