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:
Sanchayan Maity 2019-11-04 10:12:38 +05:30 committed by Sanchayan Maity
parent 8dad0c1949
commit 3bdc90b523

View file

@ -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