Switched to language-client <Plug> key mapping

main
mandlm 2020-10-01 13:59:16 +02:00
parent 5c45e250f3
commit 9a5866c2f7
Signed by: mandlm
GPG Key ID: 4AA25D647AA54CC7
1 changed files with 3 additions and 3 deletions

View File

@ -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'],