Switched to language-client <Plug> key mapping
This commit is contained in:
parent
5c45e250f3
commit
9a5866c2f7
1 changed files with 3 additions and 3 deletions
|
@ -141,9 +141,9 @@ inoremap <expr> <S-Tab> pumvisible() ? "\<C-p>" : "\<S-Tab>"
|
||||||
|
|
||||||
" LanguageClient-neovim
|
" LanguageClient-neovim
|
||||||
set hidden
|
set hidden
|
||||||
nnoremap <F5> :call LanguageClient_contextMenu()<CR>
|
nmap <F5> <Plug>(lcn-menu)
|
||||||
nnoremap K :call LanguageClient#textDocument_hover()<CR>
|
nmap K <Plug>(lcn-hover)
|
||||||
nnoremap gd :call LanguageClient#textDocument_definition()<CR>
|
nmap gd <Plug>(lcn-definition)
|
||||||
|
|
||||||
let g:LanguageClient_serverCommands = {
|
let g:LanguageClient_serverCommands = {
|
||||||
\ 'python': ['pyls'],
|
\ 'python': ['pyls'],
|
||||||
|
|
Loading…
Reference in a new issue