Add neoformat

This commit is contained in:
Julian Ospald 2018-09-17 15:42:18 +08:00
parent 275a07bf4e
commit 649f4db641
No known key found for this signature in database
GPG Key ID: 511B62C09D50CD28
2 changed files with 4 additions and 0 deletions

View File

@ -182,6 +182,9 @@ nmap <F6> :GhcModType<CR>
" " OPTIONAL: Make the update time shorter, so the type info will trigger faster. " " OPTIONAL: Make the update time shorter, so the type info will trigger faster.
" set updatetime=1000 " set updatetime=1000
let g:neoformat_enabled_haskell = ['brittany']
" map <silent> <leader>t <Plug>InteroGenericType " map <silent> <leader>t <Plug>InteroGenericType
" nnoremap <silent> <leader>jd :InteroGoToDef<CR> " nnoremap <silent> <leader>jd :InteroGoToDef<CR>
" map <silent> <leader>T <Plug>InteroType " map <silent> <leader>T <Plug>InteroType

1
vimrc
View File

@ -39,6 +39,7 @@ Plug 'kien/ctrlp.vim'
Plug 'nixprime/cpsm', { 'do': 'PY3=ON ./install.sh' } Plug 'nixprime/cpsm', { 'do': 'PY3=ON ./install.sh' }
Plug 'junegunn/fzf', { 'do': './install --bin' } Plug 'junegunn/fzf', { 'do': './install --bin' }
Plug 'junegunn/fzf.vim' Plug 'junegunn/fzf.vim'
Plug 'sbdchd/neoformat'
" local_vimrc " local_vimrc
Plug 'LucHermitte/lh-vim-lib' Plug 'LucHermitte/lh-vim-lib'