diff --git a/vimrc b/vimrc index d17861d..69ab1fe 100644 --- a/vimrc +++ b/vimrc @@ -156,7 +156,7 @@ set noswapfile "set undodir=~/.cache " Strip trailing whitespace option -let stripTrailingWhitespace = 1 +let stripTrailingWhitespace = 0 " Ignore missing spell files let loaded_spellfile_plugin = 1 @@ -373,9 +373,6 @@ function s:SetGitcommitSettings() "{{{2 endfunction "}}} -"remove all trailing whitespace for specified files before write -autocmd BufWritePre * :call StripTrailingWhitespaces(0, 'n') - autocmd BufRead *.mako set filetype=mako autocmd BufRead *.ass, *asm set filetype=kickass