vimrc/lsp.vim

11 lines
367 B
VimL
Raw Normal View History

2018-01-04 17:58:23 +00:00
set hidden
let g:LanguageClient_serverCommands = {
2018-01-19 21:40:04 +00:00
\ 'rust': ['rls'],
2018-01-04 17:58:23 +00:00
\ }
nnoremap <silent> K :call LanguageClient_textDocument_hover()<CR>
nnoremap <silent> gd :call LanguageClient_textDocument_definition()<CR>
nnoremap <silent> <F2> :call LanguageClient_textDocument_rename()<CR>
nnoremap <silent> S :call LanguageClient_textDocument_documentSymbol()<CR>