map language server commands
This commit is contained in:
parent
d2ec879290
commit
c185db48e8
1 changed files with 4 additions and 0 deletions
|
@ -43,6 +43,10 @@ if executable('rls')
|
|||
\ 'cmd': {server_info->['rustup', 'run', 'nightly', 'rls']},
|
||||
\ 'whitelist': ['rust'],
|
||||
\ })
|
||||
let g:lsp_signs_enabled = 1 " enable signs
|
||||
let g:lsp_diagnostics_echo_cursor = 1 " enable echo under cursor when in normal mode
|
||||
nnoremap <leader>d :LspDefinition<cr>
|
||||
nnoremap <leader>r :LspReferences<cr>
|
||||
endif
|
||||
|
||||
" fzf
|
||||
|
|
Loading…
Reference in a new issue