Fix language client
This commit is contained in:
parent
67b87ba774
commit
b220a50fb7
|
@ -1,9 +1,7 @@
|
||||||
let g:fzf_action = {
|
let g:lcn_fzf_options = "--delimiter ':' --preview-window '+{2}-20' --expect 'ctrl-t,ctrl-x,ctrl-v'"
|
||||||
\ 'ctrl-t': 'tab split',
|
|
||||||
\ 'ctrl-x': 'split',
|
function! LcnFzfSelectionUI(source, sink) abort
|
||||||
\ 'ctrl-v': 'vsplit',
|
return fzf#run(fzf#wrap(fzf#vim#with_preview({'source': a:source, 'options': g:lcn_fzf_options})))
|
||||||
\ }
|
endfunction
|
||||||
let opts = fzf#vim#with_preview().options + [
|
|
||||||
\ '--expect='.join(keys(fzf_action), ','),
|
let g:LanguageClient_selectionUI = function('LcnFzfSelectionUI')
|
||||||
\ ]
|
|
||||||
let g:LanguageClient_fzfOptions = opts
|
|
||||||
|
|
|
@ -51,3 +51,6 @@ function LC_maps()
|
||||||
endfunction
|
endfunction
|
||||||
|
|
||||||
autocmd FileType * call LC_maps()
|
autocmd FileType * call LC_maps()
|
||||||
|
|
||||||
|
let g:LanguageClient_loggingLevel = 'DEBUG'
|
||||||
|
let g:LanguageClient_loggingFile = expand('~/.vim/LanguageClient.log')
|
||||||
|
|
Loading…
Reference in New Issue
Block a user