summaryrefslogtreecommitdiffstats
path: root/ftplugin/dhall.vim
diff options
context:
space:
mode:
Diffstat (limited to 'ftplugin/dhall.vim')
-rw-r--r--ftplugin/dhall.vim6
1 files changed, 2 insertions, 4 deletions
diff --git a/ftplugin/dhall.vim b/ftplugin/dhall.vim
index 7afad55f..7ce258c5 100644
--- a/ftplugin/dhall.vim
+++ b/ftplugin/dhall.vim
@@ -1,7 +1,4 @@
-if exists('g:polyglot_disabled') && index(g:polyglot_disabled, 'dhall') != -1
- finish
-endif
-
+if !exists('g:polyglot_disabled') || index(g:polyglot_disabled, 'dhall') == -1
if exists('b:dhall_ftplugin')
finish
endif
@@ -37,3 +34,4 @@ endif
augroup dhall
au BufNewFile,BufRead *.dhall setl shiftwidth=2
augroup END
+endif