diff options
Diffstat (limited to 'ftplugin/elm.vim')
-rw-r--r-- | ftplugin/elm.vim | 6 |
1 files changed, 2 insertions, 4 deletions
diff --git a/ftplugin/elm.vim b/ftplugin/elm.vim index 04b829d2..9c923b5a 100644 --- a/ftplugin/elm.vim +++ b/ftplugin/elm.vim @@ -1,7 +1,4 @@ -if exists('g:polyglot_disabled') && index(g:polyglot_disabled, 'elm') != -1 - finish -endif - +if !exists('g:polyglot_disabled') || index(g:polyglot_disabled, 'elm') == -1 " plugin for Elm (http://elm-lang.org/) if exists('b:did_ftplugin') @@ -111,3 +108,4 @@ let &l:path = setlocal includeexpr=GetElmFilename(v:fname) setlocal include=^\\s*import\\s\\+ setlocal suffixesadd=.elm +endif |