diff options
Diffstat (limited to 'vim')
-rw-r--r-- | vim/.vimrc | 9 |
1 files changed, 8 insertions, 1 deletions
@@ -59,7 +59,7 @@ set shellslash let g:UltiSnipsExpandTrigger = '<C-s>' let g:mucomplete#chains = {} - let g:mucomplete#chains.default = [ 'ulti', 'path', 'omni', 'keyn' ] + let g:mucomplete#chains.default = [ 'omni', 'ulti', 'path', 'keyn' ] if has('nvim') let g:echodoc#enable_at_startup = 1 @@ -97,6 +97,13 @@ set shellslash \ 'whitelist': ['go'], \ }) endif + if executable('rls') + au User lsp_setup call lsp#register_server({ + \ 'name': 'rust', + \ 'cmd': {server_info->['rls']}, + \ 'whitelist': ['rust', 'rs'], + \ }) + endif if executable('solargraph') au User lsp_setup call lsp#register_server({ \ 'name': 'ruby', |