diff --git a/dotfiles/vimrc b/dotfiles/vimrc index 7a4010b..2c8312a 100644 --- a/dotfiles/vimrc +++ b/dotfiles/vimrc @@ -127,6 +127,8 @@ autocmd BufWritePre * :%s/\s\+$//e autocmd FileType rust setlocal shiftwidth=2 tabstop=2 autocmd BufRead,BufNewFile *.rs set filetype=rust +" Disable the rust style guide recommended 4 space indentation +let g:rust_recommended_style=0 " Hotkeys " Note noremap is a normal mode non-recursive mapping