From 13bd1612d5c980675b2a9ce9ebf3e3cefd68c3b2 Mon Sep 17 00:00:00 2001 From: Teddy Wing Date: Wed, 6 Apr 2016 11:39:36 -0400 Subject: ftplugin/rust.vim: Don't preserve indentation on empty lines Don't think we should be doing this in Rust so taking away my default behaviour. --- ftplugin/rust.vim | 6 ++++++ 1 file changed, 6 insertions(+) (limited to 'ftplugin/rust.vim') diff --git a/ftplugin/rust.vim b/ftplugin/rust.vim index c45091f..0b1f2ae 100644 --- a/ftplugin/rust.vim +++ b/ftplugin/rust.vim @@ -7,5 +7,11 @@ setlocal softtabstop=4 setlocal shiftwidth=4 +" Don't preserve indentation on empty lines +inoremap +nnoremap o o +nnoremap O O + + " Comment string setlocal commentstring=//\ %s -- cgit v1.2.3