Commit graph

6 commits

Author SHA1 Message Date
Henrik Lissner
10d0b60f5d
refactor(lib): deprecate pushnew!
In the spirit of 6f40ad5, I'm deprecating this macro because it doesn't
provide enough value to exist and serves only to complicate a casual
reader's understanding of Doom's modules.

Ref: 6f40ad55f5
2026-03-01 18:10:43 -05:00
Henrik Lissner
e68d23e73c
fix(whitespace): update indent highlights after editorconfig
If editorconfig changed the indent settings after
`+whitespace-highlight-incorrect-indentation-h` fired, whitespace-mode
does not update its highlights, so it must be triggered manually.

Fix: #8573
Close: #8655
2026-02-13 16:31:15 -05:00
Henrik Lissner
4267ce0384
bump: :editor
emacs-evil/evil-collection@faed16f485 -> emacs-evil/evil-collection@1bfa8174ea
emacs-evil/evil@334a636621 -> emacs-evil/evil@729d9a58b3
emacsmirror/visual-fill-column@e391b52922 -> emacsmirror/visual-fill-column@e1be9a1545
https://github.com/emacs-tree-sitter/treesit-fold@67b3e63eacd9 -> https://github.com/emacs-tree-sitter/treesit-fold@8182ae243a57
jscheid/dtrt-indent@9108979357 -> jscheid/dtrt-indent@7c372bec8d
magnars/multiple-cursors.el@89f1a8df9b -> magnars/multiple-cursors.el@9017f3be6b
matsievskiysv/vimish-fold@a6501cbfe3 -> matsievskiysv/vimish-fold@f71f374d28
radian-software/apheleia@f1d36031fc -> radian-software/apheleia@436cd94b3e
2025-12-01 23:56:53 -05:00
Henrik Lissner
24f9918694
refactor(whitespace): conform to naming conventions
And revise docstring slightly.
2025-09-26 00:45:03 -04:00
Henrik Lissner
722a8d3c7a
refactor(default): move whitespace & tramp config
- tramp-default-method is already set in :emacs tramp.
- Moves the whitespace config to the new whitespace module.

Amend: fbdde6b5f4
Amend: 71eae252ac
2025-09-25 19:05:24 -04:00
Henrik Lissner
fbdde6b5f4
module!: add :editor whitespace
BREAKING CHANGE: Moves ws-butler, dtrt-indent, and whitespace defaults
out of Doom's core and into a new module. ws-butler is gated behind
+trim and dtrt-indent behind +guess. Users who depend on/like these
packages will need to enable the new module and their respective
flags (which is the default going forward).

This change is motivated by an ongoing effort to slim down Doom's
core (by (re)moving non-essentials from it).

This also addresses an issue where dtrt-indent would vastly increase
load times for some major-modes (e.g. elixir-mode & elm-mode, see #7537)
by restricting it to non-project files and non-read-only buffers AND
excludign those two major modes from indent guessing.

Fix: #8516
Fix: #7537
2025-09-24 02:23:30 -04:00