summaryrefslogtreecommitdiffstats
path: root/after/ftplugin
diff options
context:
space:
mode:
authorAdam Stankiewicz <sheerun@sher.pl>2015-10-18 16:08:51 +0200
committerAdam Stankiewicz <sheerun@sher.pl>2015-10-18 16:08:51 +0200
commit1f1e821192d25d630587aa9d53bd8d428fb09c4d (patch)
tree7b342264b1c5e2e8d2a644fbff86204061530fd4 /after/ftplugin
parentae882e85f81869dbf81b5c888c337aa4481fc8c3 (diff)
downloadvim-polyglot-2.2.2.tar.gz
vim-polyglot-2.2.2.zip
Change haskell provider to neovimhaskell/haskell-vim, closes #75v2.2.2
Diffstat (limited to 'after/ftplugin')
-rw-r--r--after/ftplugin/cabal.vim8
-rw-r--r--after/ftplugin/haskell.vim7
2 files changed, 15 insertions, 0 deletions
diff --git a/after/ftplugin/cabal.vim b/after/ftplugin/cabal.vim
new file mode 100644
index 00000000..a4f042ba
--- /dev/null
+++ b/after/ftplugin/cabal.vim
@@ -0,0 +1,8 @@
+if !exists('g:polyglot_disabled') || index(g:polyglot_disabled, 'haskell') == -1
+
+setlocal comments=s1fl:{-,mb:-,ex:-},:--
+setlocal formatoptions-=cro formatoptions+=j
+setlocal iskeyword+=-,.,*
+setlocal commentstring=--\ %s
+
+endif
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