diff --git a/after/ftplugin/haskell.vim b/after/ftplugin/haskell.vim index 0cb0ad6..d310d42 100644 --- a/after/ftplugin/haskell.vim +++ b/after/ftplugin/haskell.vim @@ -182,6 +182,9 @@ nmap :GhcModType " " OPTIONAL: Make the update time shorter, so the type info will trigger faster. " set updatetime=1000 +let g:neoformat_enabled_haskell = ['brittany'] + + " map t InteroGenericType " nnoremap jd :InteroGoToDef " map T InteroType diff --git a/vimrc b/vimrc index a4ef2f7..223acc1 100644 --- a/vimrc +++ b/vimrc @@ -39,6 +39,7 @@ Plug 'kien/ctrlp.vim' Plug 'nixprime/cpsm', { 'do': 'PY3=ON ./install.sh' } Plug 'junegunn/fzf', { 'do': './install --bin' } Plug 'junegunn/fzf.vim' +Plug 'sbdchd/neoformat' " local_vimrc Plug 'LucHermitte/lh-vim-lib'