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
|
||||
set hidden
|
||||
nnoremap <F5> :call LanguageClient_contextMenu()<CR>
|
||||
nnoremap K :call LanguageClient#textDocument_hover()<CR>
|
||||
nnoremap gd :call LanguageClient#textDocument_definition()<CR>
|
||||
nmap <F5> <Plug>(lcn-menu)
|
||||
nmap K <Plug>(lcn-hover)
|
||||
nmap gd <Plug>(lcn-definition)
|
||||
|
||||
let g:LanguageClient_serverCommands = {
|
||||
\ 'python': ['pyls'],
|
||||
|
|
Loading…
Reference in a new issue