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.vim7
1 files changed, 7 insertions, 0 deletions
diff --git a/after/ftplugin/haskell.vim b/after/ftplugin/haskell.vim
new file mode 100644
index 00000000..387ffe71
--- /dev/null
+++ b/after/ftplugin/haskell.vim
@@ -0,0 +1,7 @@
+if !exists('g:polyglot_disabled') || index(g:polyglot_disabled, 'haskell') == -1
+
+setlocal comments=s1fl:{-,mb:-,ex:-},:--
+setlocal formatoptions-=cro formatoptions+=j
+setlocal iskeyword+='
+
+endif