nvim: init.vim: Enable ghcid
When we enabled ghcid before it did not work as we did not set the command which it should use for starting ghcid. Fixed now and it is working awesome!!!
This commit is contained in:
parent
8dad0c1949
commit
3bdc90b523
1 changed files with 2 additions and 0 deletions
|
@ -52,6 +52,7 @@ Plug 'Olical/vim-scheme', { 'for': 'scheme', 'on': 'SchemeConnect' }
|
||||||
" Haskell
|
" Haskell
|
||||||
Plug 'ekmett/haskell-vim', { 'for': [ 'haskell', 'cabal' ] }
|
Plug 'ekmett/haskell-vim', { 'for': [ 'haskell', 'cabal' ] }
|
||||||
Plug 'neomake/neomake'
|
Plug 'neomake/neomake'
|
||||||
|
Plug 'ndmitchell/ghcid', { 'rtp': 'plugins/nvim' }
|
||||||
" For Nix
|
" For Nix
|
||||||
Plug 'LnL7/vim-nix', { 'for': 'nix' }
|
Plug 'LnL7/vim-nix', { 'for': 'nix' }
|
||||||
" For autocompletion
|
" For autocompletion
|
||||||
|
@ -268,6 +269,7 @@ let g:haskell_indent_in = 1
|
||||||
let g:haskell_indent_guard = 2
|
let g:haskell_indent_guard = 2
|
||||||
let g:haskell_indent_case_alternative = 1
|
let g:haskell_indent_case_alternative = 1
|
||||||
let g:cabal_indent_section = 2
|
let g:cabal_indent_section = 2
|
||||||
|
let g:ghcid_command = 'stack exec -- ghcid'
|
||||||
|
|
||||||
" Use deoplete
|
" Use deoplete
|
||||||
let g:deoplete#enable_at_startup = 1
|
let g:deoplete#enable_at_startup = 1
|
||||||
|
|
Loading…
Reference in a new issue