diff options
author | Teddy Wing | 2016-03-26 18:16:07 -0400 |
---|---|---|
committer | Teddy Wing | 2016-03-26 18:16:07 -0400 |
commit | cebac9b3cb9cb850cb1ea9412a6260762c5e2361 (patch) | |
tree | 3c0be8514215f3d27a02a72ee829e63d6d6a353d | |
parent | 623497e123af6a4b6fcf89f720ca210c2058eb5b (diff) | |
download | dotvim-cebac9b3cb9cb850cb1ea9412a6260762c5e2361.tar.bz2 |
ftplugin/rust.vim: Use 4-space tabs
According to http://doc.rust-lang.org/book/getting-started.html, the
Rust convention is apparently 4-space indentation. Update our settings
to match this.
-rw-r--r-- | ftplugin/rust.vim | 7 |
1 files changed, 7 insertions, 0 deletions
diff --git a/ftplugin/rust.vim b/ftplugin/rust.vim new file mode 100644 index 0000000..4e466bc --- /dev/null +++ b/ftplugin/rust.vim @@ -0,0 +1,7 @@ +" Rust vim settings + +" Indentation +setlocal expandtab +setlocal tabstop=4 +setlocal softtabstop=4 +setlocal shiftwidth=4 |