This commit is contained in:
2020-10-18 19:45:39 +02:00
parent f559e8b242
commit adac7168bc
5 changed files with 74 additions and 57 deletions

View File

@@ -21,7 +21,7 @@ set tags=tags;/,codex.tags;/
" nnoremap <silent> <leader>cgd :cs find g <C-R>=expand("<cword>")<CR><CR>
nnoremap <silent> <C-\> :cs find c <C-R>=expand("<cword>")<CR><CR>
set cscopeprg=do_at_stack_root\ hscope
" set cscopeprg=do_at_stack_root\ hscope
set csre
set csto=1 " search codex tags first
set nocst
@@ -37,7 +37,7 @@ function! LoadHscope()
endif
set cscopeverbose
endfunction
au BufEnter /*.hs call LoadHscope()
" au BufEnter /*.hs call LoadHscope()
@@ -128,7 +128,7 @@ let g:LanguageClient_rootMarkers = ['cabal.project', '*.cabal', 'stack.yaml']
" \ 'haskell': ['ghcide', "--lsp"],
let g:LanguageClient_serverCommands = {
\ 'haskell': ['haskell-language-server-wrapper', '--lsp'],
\ 'haskell': ['haskell-language-server-wrapper', '--lsp', '--logfile', $HOME.'/hls-server.log'],
\ }
@@ -178,12 +178,6 @@ let g:tagbar_type_haskell = {
\ }
" vista
let g:vista_ctags_cmd = {
\ 'haskell': 'hasktags -x -o - -c',
\ }
" vim-lsp
if executable('haskell-language-server-wrapper')
au User lsp_setup call lsp#register_server({