add bundle for vim-toml for TOML type
In .vimrc, turn on rustfmt_autosave, add options for json, toml, yaml file types, and remove unnecessary bundles. Add a new bundle for the toml file type.
This commit is contained in:
parent
be7814ad16
commit
1f3ad4ba84
6 changed files with 137 additions and 22 deletions
2
.vim/bundle/vim-toml/ftdetect/toml.vim
Normal file
2
.vim/bundle/vim-toml/ftdetect/toml.vim
Normal file
|
|
@ -0,0 +1,2 @@
|
|||
" Rust uses several TOML config files that are not named with .toml.
|
||||
autocmd BufNewFile,BufRead *.toml,Cargo.lock,*/.cargo/config set filetype=toml
|
||||
Loading…
Add table
Add a link
Reference in a new issue