diff options
author | Teddy Wing | 2016-04-06 11:39:36 -0400 |
---|---|---|
committer | Teddy Wing | 2016-04-06 11:39:36 -0400 |
commit | 13bd1612d5c980675b2a9ce9ebf3e3cefd68c3b2 (patch) | |
tree | 077a6cb95e9447807c6bc4a5c66595debc1e0d49 /ftplugin | |
parent | dd7757bdd7b051c4f0aa2b7011b0a9b44a03a920 (diff) | |
download | dotvim-13bd1612d5c980675b2a9ce9ebf3e3cefd68c3b2.tar.bz2 |
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.
Diffstat (limited to 'ftplugin')
-rw-r--r-- | ftplugin/rust.vim | 6 |
1 files changed, 6 insertions, 0 deletions
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 <buffer> <CR> <CR> +nnoremap <buffer> o o +nnoremap <buffer> O O + + " Comment string setlocal commentstring=//\ %s |