From a49ea2ee2bf579bef4557f2734ed0f3d08fa2e0e Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Hannes=20K=C3=B6rber?= Date: Fri, 29 Oct 2021 19:00:51 +0200 Subject: [PATCH] vim: Add rust integration --- vim/vimrc | 7 ++++++- 1 file changed, 6 insertions(+), 1 deletion(-) diff --git a/vim/vimrc b/vim/vimrc index 3ca37af..b828156 100644 --- a/vim/vimrc +++ b/vim/vimrc @@ -47,7 +47,7 @@ Plug 'vimwiki/vimwiki' Plug 'rodjek/vim-puppet' Plug 'suan/vim-instant-markdown' "Plug 'marshallward/vim-restructuredtext' -"Plug 'vim-syntastic/syntastic' +Plug 'vim-syntastic/syntastic' "Plug 'ElmCast/elm-vim' "Plug 'avh4/elm-format' @@ -73,6 +73,9 @@ Plug 'evanleck/vim-svelte', {'branch': 'main'} Plug 'cespare/vim-toml', { 'branch': 'main' } +Plug 'rust-lang/rust.vim' + + call plug#end() filetype plugin indent on @@ -355,3 +358,5 @@ let g:go_info_mode='gopls' " https://stackoverflow.com/a/8585343 map q :bpspbnbd + +let g:rustfmt_autosave = 1