mirror of
https://github.com/gryf/.vim.git
synced 2025-12-17 19:40:29 +01:00
Make whitespace stripping not default.
This commit is contained in:
5
vimrc
5
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 <SID>StripTrailingWhitespaces(0, 'n')
|
||||
|
||||
autocmd BufRead *.mako set filetype=mako
|
||||
autocmd BufRead *.ass, *asm set filetype=kickass
|
||||
|
||||
|
||||
Reference in New Issue
Block a user