From cebac9b3cb9cb850cb1ea9412a6260762c5e2361 Mon Sep 17 00:00:00 2001 From: Teddy Wing Date: Sat, 26 Mar 2016 18:16:07 -0400 Subject: 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. --- ftplugin/rust.vim | 7 +++++++ 1 file changed, 7 insertions(+) create mode 100644 ftplugin/rust.vim (limited to 'ftplugin/rust.vim') 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 -- cgit v1.2.3