From 649f4db6411da94c2f8641f19a67a7f64f5c1954 Mon Sep 17 00:00:00 2001 From: Julian Ospald Date: Mon, 17 Sep 2018 15:42:18 +0800 Subject: [PATCH] Add neoformat --- after/ftplugin/haskell.vim | 3 +++ vimrc | 1 + 2 files changed, 4 insertions(+) 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'