
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.
2 lines
148 B
VimL
2 lines
148 B
VimL
" Rust uses several TOML config files that are not named with .toml.
|
|
autocmd BufNewFile,BufRead *.toml,Cargo.lock,*/.cargo/config set filetype=toml
|