summaryrefslogtreecommitdiffstats
path: root/ftplugin/elm.vim
diff options
context:
space:
mode:
Diffstat (limited to 'ftplugin/elm.vim')
-rw-r--r--ftplugin/elm.vim8
1 files changed, 4 insertions, 4 deletions
diff --git a/ftplugin/elm.vim b/ftplugin/elm.vim
index b2423c29..04b829d2 100644
--- a/ftplugin/elm.vim
+++ b/ftplugin/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
+
" plugin for Elm (http://elm-lang.org/)
if exists('b:did_ftplugin')
@@ -109,5 +111,3 @@ let &l:path =
setlocal includeexpr=GetElmFilename(v:fname)
setlocal include=^\\s*import\\s\\+
setlocal suffixesadd=.elm
-
-endif