Switched to language-client <Plug> key mapping

This commit is contained in:
Michael Mandl 2020-10-01 13:59:16 +02:00
parent 5c45e250f3
commit 9a5866c2f7
Signed by: mandlm
GPG key ID: 4AA25D647AA54CC7

View file

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