diff options
author | Adam Stankiewicz <sheerun@sher.pl> | 2015-07-18 23:22:55 +0200 |
---|---|---|
committer | Adam Stankiewicz <sheerun@sher.pl> | 2015-07-18 23:22:55 +0200 |
commit | cf1e53bc39c96b9f5586a68efa118a13c615da13 (patch) | |
tree | eb6c96a71098df7fc2a38df4606f32a3bfcc925e /after | |
parent | 92ab75408df8bff49bb29e113b3cc159d1ac3105 (diff) | |
download | vim-polyglot-cf1e53bc39c96b9f5586a68efa118a13c615da13.tar.gz vim-polyglot-cf1e53bc39c96b9f5586a68efa118a13c615da13.zip |
Changed haskell provider to raichoo/haskell-vim, closes #63
Diffstat (limited to 'after')
-rw-r--r-- | after/ftplugin/cabal.vim | 8 | ||||
-rw-r--r-- | after/ftplugin/haskell.vim | 12 |
2 files changed, 11 insertions, 9 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 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 |