vimrc/lsp.vim

7 lines
233 B
VimL
Raw Normal View History

2019-05-16 15:47:38 +00:00
au User lsp_setup call lsp#register_server({
\ 'name': 'rls',
\ 'cmd': {server_info->['rustup', 'run', 'stable', 'rls']},
\ 'workspace_config': {'rust': {'clippy_preference': 'on'}},
\ 'whitelist': ['rust'],
\ })