summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--vim/.vimrc9
1 files changed, 8 insertions, 1 deletions
diff --git a/vim/.vimrc b/vim/.vimrc
index ea2d92c..02ee5af 100644
--- a/vim/.vimrc
+++ b/vim/.vimrc
@@ -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',