Replace delete-trailing-whitespace with ws-butler

ws-butler only strips trailing spaces on lines that have been modified.

+ ws-butler is disabled if editorconfig enables
  trim_trailing_whitespace, which resorts to delete-trailing-whitespace
  instead.
+ Updates doom|(enable|disable)-delete-trailing-whitespace hooks to use
  ws-butler-mode.
This commit is contained in:
Henrik Lissner 2018-08-31 13:56:50 +02:00
parent a33165d47a
commit d80e79203a
No known key found for this signature in database
GPG key ID: 5F6C0EA160557395
4 changed files with 20 additions and 9 deletions

View file

@ -32,6 +32,7 @@
(package! pcre2el)
(package! smartparens)
(package! undo-tree)
(package! ws-butler)
;; core-projects.el
(package! projectile)