map language server commands

This commit is contained in:
Cyryl Płotnicki 2018-05-28 00:02:34 +01:00
parent d2ec879290
commit c185db48e8

View file

@ -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