From afc3d1faf376d3a42eaa5d7fb0c94d046afa1f2f Mon Sep 17 00:00:00 2001 From: Ahir Reddy Date: Fri, 18 Oct 2013 00:39:36 -0700 Subject: [PATCH] disable whitespace crunching --- .vimrc | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/.vimrc b/.vimrc index 13f6e9595..ed9502eaf 100644 --- a/.vimrc +++ b/.vimrc @@ -105,13 +105,15 @@ let g:pymode_syntax_all = 1 let g:pymode_syntax_indent_errors = g:pymode_syntax_all let g:pymode_syntax_space_errors = g:pymode_syntax_all +let g:pymode_utils_whitespaces = 0 + " Don't autofold code let g:pymode_folding = 0 " Highlight trailing white space and delete on save autocmd InsertLeave * match ErrorMsg '\s\+$' autocmd InsertEnter * call clearmatches() -autocmd BufWritePre * :%s/\s\+$//e +" autocmd BufWritePre * :%s/\s\+$//e autocmd FileType tex set spell autocmd FileType tex set tw=80