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.vim12
1 files changed, 3 insertions, 9 deletions
diff --git a/after/ftplugin/haskell.vim b/after/ftplugin/haskell.vim
index 4b315458..387ffe71 100644
--- a/after/ftplugin/haskell.vim
+++ b/after/ftplugin/haskell.vim
@@ -1,13 +1,7 @@
if !exists('g:polyglot_disabled') || index(g:polyglot_disabled, 'haskell') == -1
-" Vim ftplugin file
-" Language: Haskell
-" Maintainer: Tristan Ravitch
-
-" I don't fully understand what the vim-default ftplugin does, but I do know
-" that the three-part comment entry really messes up this indenter (I also
-" hate the leading '-'s it puts in on each line). Disable it here.
-setlocal comments&
-setlocal comments=:--
+setlocal comments=s1fl:{-,mb:-,ex:-},:--
+setlocal formatoptions-=cro formatoptions+=j
+setlocal iskeyword+='
endif