From 4b31b033b8ce7d77bc7c755c50d91b9b2db8175b Mon Sep 17 00:00:00 2001 From: Marcel Schneider Date: Tue, 18 Apr 2017 10:20:38 +0200 Subject: [PATCH] Add haskell support --- vim/ftplugin/haskell.vim | 6 ++++++ vimrc.symlink | 3 +++ 2 files changed, 9 insertions(+) create mode 100644 vim/ftplugin/haskell.vim diff --git a/vim/ftplugin/haskell.vim b/vim/ftplugin/haskell.vim new file mode 100644 index 0000000..109cd5b --- /dev/null +++ b/vim/ftplugin/haskell.vim @@ -0,0 +1,6 @@ +" Tab specific option +set tabstop=8 "A tab is 8 spaces +set expandtab "Always uses spaces instead of tabs +set softtabstop=4 "Insert 4 spaces when tab is pressed +set shiftwidth=4 "An indent is 4 spaces +set shiftround "Round indent to nearest shiftwidth multiple diff --git a/vimrc.symlink b/vimrc.symlink index ce7e3d0..6551af9 100644 --- a/vimrc.symlink +++ b/vimrc.symlink @@ -68,6 +68,9 @@ Plug 'altercation/vim-colors-solarized' " TOML Plug 'cespare/vim-toml', { 'for': 'toml' } +" Haskell +Plug 'bitc/vim-hdevtools', { 'for': 'haskell' } + set wildignore+=node_modules " All of your Plugins must be added before the following line