Skip to content
keremc edited this page Aug 29, 2017 · 9 revisions

RLS is in the alpha stage of development. It may not work as expected in some cases.

Installing server

Follow instructions at https://github.com/rust-lang-nursery/rls#setup in order to install and setup rust language server.

Registering in .vimrc

if executable('rls')
    au User lsp_setup call lsp#register_server({
        \ 'name': 'rls',
        \ 'cmd': {server_info->['rustup', 'run', 'nightly', 'rls']},
        \ 'whitelist': ['rust'],
        \ })
endif