vim: Add rust integration

This commit is contained in:
2021-10-29 19:00:51 +02:00
parent f0b732ce79
commit a49ea2ee2b

View File

@@ -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 <leader>q :bp<bar>sp<bar>bn<bar>bd<CR>
let g:rustfmt_autosave = 1