mirror of
https://github.com/jdhao/nvim-config.git
synced 2025-06-08 14:14:33 +02:00
drop auto-remove trailing whitespaces
When working with legacy code which is not well formatted, it will cause large undesirable diffs.
This commit is contained in:
parent
c9535a0feb
commit
db3b0024a6
@ -103,9 +103,3 @@ augroup packer_auto_compile
|
||||
autocmd!
|
||||
autocmd BufWritePost */nvim/lua/plugins.lua source <afile> | PackerCompile
|
||||
augroup END
|
||||
|
||||
" Remove trailing whitespaces
|
||||
augroup strip_trailing_space
|
||||
autocmd!
|
||||
autocmd BufWritePre,TextChanged * StripTrailingWhitespace
|
||||
augroup END
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user