From 6b6c3628bb1310c29b0ddd71faeefc81d0f9d018 Mon Sep 17 00:00:00 2001 From: Julian Ospald Date: Mon, 18 Jun 2018 12:00:07 +0200 Subject: [PATCH] Fix cabal indenting --- after/ftplugin/cabal.vim | 1 + vimrc | 2 +- 2 files changed, 2 insertions(+), 1 deletion(-) create mode 100644 after/ftplugin/cabal.vim diff --git a/after/ftplugin/cabal.vim b/after/ftplugin/cabal.vim new file mode 100644 index 0000000..5245bdc --- /dev/null +++ b/after/ftplugin/cabal.vim @@ -0,0 +1 @@ +setlocal expandtab diff --git a/vimrc b/vimrc index c2e392e..25ae2b8 100644 --- a/vimrc +++ b/vimrc @@ -90,7 +90,7 @@ Plug 'eagletmt/ghcmod-vim', { 'for': 'haskell' } " completion based on ghc-mod, not LSP " Plug 'eagletmt/neco-ghc', { 'for': 'haskell' } Plug 'lukerandall/haskellmode-vim', { 'for': 'haskell' } -Plug 'neovimhaskell/haskell-vim', { 'for': 'haskell' } +Plug 'neovimhaskell/haskell-vim', { 'for': ['haskell', 'cabal'] } Plug 'ucsd-progsys/liquid-types.vim', { 'for': 'haskell' } Plug 'bitc/lushtags', { \ 'do': 'bash -c \"cabal clean && cabal sandbox delete && cabal sandbox init && cabal install && cp .cabal-sandbox/bin/lushtags ~/.cabal/bin/lushtags\"',