diff options
Diffstat (limited to 'after/ftplugin/cabal.vim')
-rw-r--r-- | after/ftplugin/cabal.vim | 6 |
1 files changed, 2 insertions, 4 deletions
diff --git a/after/ftplugin/cabal.vim b/after/ftplugin/cabal.vim index 3c66372a..8e485bbd 100644 --- a/after/ftplugin/cabal.vim +++ b/after/ftplugin/cabal.vim @@ -1,7 +1,5 @@ -if exists('g:polyglot_disabled') && index(g:polyglot_disabled, 'haskell') != -1 - finish -endif - +if !exists('g:polyglot_disabled') || index(g:polyglot_disabled, 'haskell') == -1 setlocal comments=s1fl:{-,mb:-,ex:-},:-- setlocal iskeyword+=-,.,* setlocal commentstring=--\ %s +endif |