Update
This commit is contained in:
@@ -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({
|
||||
|
||||
@@ -183,11 +183,6 @@ let g:EditorConfig_max_line_indicator = 'none'
|
||||
let g:vim_current_word#highlight_current_word = 0
|
||||
hi default link CurrentWordTwins CursorColumn
|
||||
|
||||
|
||||
" vista
|
||||
let g:vista#renderer#enable_icon = 0
|
||||
|
||||
|
||||
" vim-lsp
|
||||
function! s:on_lsp_buffer_enabled() abort
|
||||
setlocal omnifunc=lsp#complete
|
||||
@@ -222,3 +217,10 @@ let g:lsp_auto_enable = 0
|
||||
command -nargs=* Rag Clap grep ++query='<args>'
|
||||
let g:clap_layout = {'relative': 'editor', 'width': '95%', 'height': '33%', 'row': '33%', 'col': '5%'}
|
||||
let g:clap_use_pure_python = 1
|
||||
|
||||
" vista
|
||||
let g:vista#renderer#enable_icon = 0
|
||||
let g:vista_ctags_cmd = {
|
||||
\ 'haskell': 'hasktags -x -o - -c',
|
||||
\ 'yaml': 'hasktags -x -o - -c',
|
||||
\ }
|
||||
|
||||
Reference in New Issue
Block a user