refactor(lib): doom-debug-mode: make verbosity selective

Now `doom-debug-mode` manipulates `doom-log-level` if you activate it
with a prefix arg, setting it to 1 by default, reducing its verbosity
and cutting down on noise in the logs.
This commit is contained in:
Henrik Lissner
2025-04-10 21:35:19 -04:00
parent c233aada0b
commit fb0dc4cc85
10 changed files with 96 additions and 88 deletions

View File

@ -48,7 +48,7 @@ FUNCTION
transient-values-file (concat doom-data-dir "transient/values")
transient-history-file (concat doom-data-dir "transient/history"))
:config
(add-to-list 'doom-debug-variables 'magit-refresh-verbose)
(set-debug-variable! 'magit-refresh-verbose)
(setq transient-default-level 5
magit-diff-refine-hunk t ; show granular diffs in selected hunk