nvim: ftplugin: haskell: Assume hasktags & hlint are available in path
We assume these are installed via nix and available globally. hasktags and haskdogs do not build with stack on ghc8.8 and hence this switch. With nix, haskdogs gives an issue due to locale like is also observed when stack is installed via nix. codex does not seem to generate tags which work. Signed-off-by: Sanchayan Maity <maitysanchayan@gmail.com>
This commit is contained in:
parent
6acaf6ad4b
commit
9fe8808e7e
1 changed files with 2 additions and 3 deletions
|
@ -3,9 +3,8 @@
|
|||
compiler stack
|
||||
setlocal makeprg=stack\ build
|
||||
|
||||
nmap <buffer> <LocalLeader>t :AsyncDo stack exec -- hasktags -x -c .<CR>
|
||||
nmap <buffer> <LocalLeader>td :AsyncDo stack exec -- haskdogs<CR>
|
||||
nmap <buffer> <LocalLeader>h :AsyncDo stack exec -- hlint %<CR>
|
||||
nmap <buffer> <LocalLeader>t :AsyncDo hasktags -x -c .<CR>
|
||||
nmap <buffer> <LocalLeader>h :AsyncDo hlint %<CR>
|
||||
nmap <buffer> <LocalLeader>g :Ghcid<CR>
|
||||
nmap <buffer> <LocalLeader>k :GhcidKill<CR>
|
||||
nmap <buffer> <LocalLeader>c :HoogleClose<CR>
|
||||
|
|
Loading…
Reference in a new issue