aboutsummaryrefslogtreecommitdiffstats
path: root/ftplugin
diff options
context:
space:
mode:
authorTeddy Wing2016-03-26 18:16:07 -0400
committerTeddy Wing2016-03-26 18:16:07 -0400
commitcebac9b3cb9cb850cb1ea9412a6260762c5e2361 (patch)
tree3c0be8514215f3d27a02a72ee829e63d6d6a353d /ftplugin
parent623497e123af6a4b6fcf89f720ca210c2058eb5b (diff)
downloaddotvim-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.
Diffstat (limited to 'ftplugin')
-rw-r--r--ftplugin/rust.vim7
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