Browse Source

Add haskell prettify

coc
Schneider 7 years ago
parent
commit
4ed2ab288e
  1. 3
      vim/ftplugin/haskell.vim
  2. 1
      vimrc.symlink

3
vim/ftplugin/haskell.vim

@ -4,3 +4,6 @@ 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
" prettify
set formatprg=stylish-haskell

1
vimrc.symlink

@ -72,6 +72,7 @@ Plug 'cespare/vim-toml', { 'for': 'toml' }
" Haskell
Plug 'bitc/vim-hdevtools', { 'for': 'haskell' }
Plug 'nbouscal/vim-stylish-haskell', { 'for': 'haskell' }
set wildignore+=node_modules

Loading…
Cancel
Save