vim: Add rust integration
This commit is contained in:
@@ -47,7 +47,7 @@ Plug 'vimwiki/vimwiki'
|
|||||||
Plug 'rodjek/vim-puppet'
|
Plug 'rodjek/vim-puppet'
|
||||||
Plug 'suan/vim-instant-markdown'
|
Plug 'suan/vim-instant-markdown'
|
||||||
"Plug 'marshallward/vim-restructuredtext'
|
"Plug 'marshallward/vim-restructuredtext'
|
||||||
"Plug 'vim-syntastic/syntastic'
|
Plug 'vim-syntastic/syntastic'
|
||||||
"Plug 'ElmCast/elm-vim'
|
"Plug 'ElmCast/elm-vim'
|
||||||
"Plug 'avh4/elm-format'
|
"Plug 'avh4/elm-format'
|
||||||
|
|
||||||
@@ -73,6 +73,9 @@ Plug 'evanleck/vim-svelte', {'branch': 'main'}
|
|||||||
|
|
||||||
Plug 'cespare/vim-toml', { 'branch': 'main' }
|
Plug 'cespare/vim-toml', { 'branch': 'main' }
|
||||||
|
|
||||||
|
Plug 'rust-lang/rust.vim'
|
||||||
|
|
||||||
|
|
||||||
call plug#end()
|
call plug#end()
|
||||||
filetype plugin indent on
|
filetype plugin indent on
|
||||||
|
|
||||||
@@ -355,3 +358,5 @@ let g:go_info_mode='gopls'
|
|||||||
|
|
||||||
" https://stackoverflow.com/a/8585343
|
" https://stackoverflow.com/a/8585343
|
||||||
map <leader>q :bp<bar>sp<bar>bn<bar>bd<CR>
|
map <leader>q :bp<bar>sp<bar>bn<bar>bd<CR>
|
||||||
|
|
||||||
|
let g:rustfmt_autosave = 1
|
||||||
|
|||||||
Reference in New Issue
Block a user