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:
Dongsu Park 2017-04-25 10:19:52 +02:00
parent be7814ad16
commit 1f3ad4ba84
6 changed files with 137 additions and 22 deletions

View 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