diff options
| author | jdhao <jdhao@hotmail.com> | 2021-11-07 13:32:06 +0800 |
|---|---|---|
| committer | jdhao <jdhao@hotmail.com> | 2021-11-07 13:32:06 +0800 |
| commit | db3b0024a6e2d880cee4571f51cbebc050903bf6 (patch) | |
| tree | 3dee8e2fdb6242289f906dae0e4e347f7c743d19 /core/autocommands.vim | |
| parent | c9535a0febcaa065a432b3d2800223f304505d1e (diff) | |
drop auto-remove trailing whitespaces
When working with legacy code which is not well formatted, it will cause
large undesirable diffs.
Diffstat (limited to 'core/autocommands.vim')
| -rw-r--r-- | core/autocommands.vim | 6 |
1 files changed, 0 insertions, 6 deletions
diff --git a/core/autocommands.vim b/core/autocommands.vim index 518790c..88f1688 100644 --- a/core/autocommands.vim +++ b/core/autocommands.vim @@ -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 |
