summaryrefslogtreecommitdiffstats
path: root/vim/vimrc
diff options
context:
space:
mode:
Diffstat (limited to 'vim/vimrc')
-rw-r--r--vim/vimrc2
1 files changed, 2 insertions, 0 deletions
diff --git a/vim/vimrc b/vim/vimrc
index 2db09f5..4c9dec0 100644
--- a/vim/vimrc
+++ b/vim/vimrc
@@ -118,6 +118,8 @@ if dein#tap('vim-lsp')
\ 'cmd': {server_info->['rustup', 'run', 'nightly', 'rls']},
\ 'whitelist': ['rust'],
\ })
+
+ au FileType rust setl omnifunc=lsp#complete
endif
if executable('hie-wrapper')
au User lsp_setup call lsp#register_server({