Add rust plugin and autoformat
This commit is contained in:
parent
6a153f8544
commit
edadfcc62e
3 changed files with 6 additions and 0 deletions
3
.gitmodules
vendored
3
.gitmodules
vendored
|
@ -7,3 +7,6 @@
|
|||
[submodule "raw/.vim/pack/git-plugins/start/pest.vim"]
|
||||
path = raw/.vim/pack/git-plugins/start/pest.vim
|
||||
url = https://github.com/pest-parser/pest.vim
|
||||
[submodule "raw/.vim/pack/git-plugins/start/rust.vim"]
|
||||
path = raw/.vim/pack/git-plugins/start/rust.vim
|
||||
url = https://github.com/rust-lang/rust.vim
|
||||
|
|
1
raw/.vim/pack/git-plugins/start/rust.vim
Submodule
1
raw/.vim/pack/git-plugins/start/rust.vim
Submodule
|
@ -0,0 +1 @@
|
|||
Subproject commit 9984b9753606fe2c8d7f3d4f9d67c1777a967cd6
|
|
@ -19,6 +19,8 @@ set softtabstop=4
|
|||
set shiftwidth=4
|
||||
set expandtab
|
||||
|
||||
let g:rustfmt_autosave = 1 " format .rs on save
|
||||
|
||||
" custom file types
|
||||
filetype plugin indent on
|
||||
autocmd FileType yaml,yml setlocal tabstop=2 softtabstop=2 shiftwidth=2
|
||||
|
|
Loading…
Add table
Reference in a new issue