From 1f1e821192d25d630587aa9d53bd8d428fb09c4d Mon Sep 17 00:00:00 2001 From: Adam Stankiewicz Date: Sun, 18 Oct 2015 16:08:51 +0200 Subject: Change haskell provider to neovimhaskell/haskell-vim, closes #75 --- after/ftplugin/cabal.vim | 8 ++++++++ after/ftplugin/haskell.vim | 7 +++++++ 2 files changed, 15 insertions(+) create mode 100644 after/ftplugin/cabal.vim create mode 100644 after/ftplugin/haskell.vim (limited to 'after/ftplugin') 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 -- cgit v1.2.3