summaryrefslogtreecommitdiffstats
path: root/after/ftplugin/haskell.vim
diff options
context:
space:
mode:
Diffstat (limited to 'after/ftplugin/haskell.vim')
-rw-r--r--after/ftplugin/haskell.vim6
1 files changed, 3 insertions, 3 deletions
diff --git a/after/ftplugin/haskell.vim b/after/ftplugin/haskell.vim
index a617329c..96ea4d04 100644
--- a/after/ftplugin/haskell.vim
+++ b/after/ftplugin/haskell.vim
@@ -1,6 +1,6 @@
-if !exists('g:polyglot_disabled') || index(g:polyglot_disabled, 'haskell') == -1
+if !polyglot#util#IsEnabled('haskell', expand('<sfile>:p'))
+ finish
+endif
setlocal comments=s1fl:{-,mb:\ \ ,ex:-},:--
setlocal iskeyword+='
-
-endif