Refactor doom-debug-mode

+ Add explain-pause-mode
+ Now reloads itself if doom-debug-variables is changed or when one of
  its variables becomes available.
+ doom-debug-variables now supports a cons cell entry where its CAR is
  the name of the variable and CDR is the value it should be set to when
  doom-debug-mode is active.
This commit is contained in:
Henrik Lissner 2020-08-21 00:09:59 -04:00
parent 70148bbfc8
commit 4e82ee4397
No known key found for this signature in database
GPG key ID: 5F6C0EA160557395
6 changed files with 61 additions and 14 deletions

View file

@ -33,6 +33,8 @@
#'yas-minor-mode-on)
:config
(add-to-list 'doom-debug-variables '(yas-verbosity . 3))
;; Allow private snippets in DOOMDIR/snippets
(add-to-list 'yas-snippet-dirs '+snippets-dir)