diff options
| author | Miquel Sabaté Solà <mikisabate@gmail.com> | 2025-07-04 10:35:47 +0200 |
|---|---|---|
| committer | Miquel Sabaté Solà <mikisabate@gmail.com> | 2025-07-04 10:35:47 +0200 |
| commit | 98503c545080e9c7bcd2ec2e18e168ad791130a4 (patch) | |
| tree | e57dbb748713183f8b611d2167f8d027725c68c0 /.config | |
| parent | bb803029733589b10e1b15e26729be950714c537 (diff) | |
| download | dotfiles-98503c545080e9c7bcd2ec2e18e168ad791130a4.tar.gz dotfiles-98503c545080e9c7bcd2ec2e18e168ad791130a4.zip | |
doom: Include highlight-numbers
This was recently excluded from the default Doom installation, and I do
use it.
Signed-off-by: Miquel Sabaté Solà <mikisabate@gmail.com>
Diffstat (limited to '.config')
| -rw-r--r-- | .config/doom/config.el | 3 | ||||
| -rw-r--r-- | .config/doom/packages.el | 1 |
2 files changed, 4 insertions, 0 deletions
diff --git a/.config/doom/config.el b/.config/doom/config.el index 205e318..30c5741 100644 --- a/.config/doom/config.el +++ b/.config/doom/config.el @@ -89,6 +89,9 @@ (advice-add #'doom-highlight-non-default-indentation-h :override #'ignore) +;; Doom Emacs eventually removed highlight-numbers, which was useful to me. +(add-hook! '(prog-mode-hook conf-mode-hook) #'highlight-numbers-mode) + ;; The modeline I was using even before switching to Doom. I modify quite a few ;; things from the default installation so it is simpler. (use-package! doom-modeline diff --git a/.config/doom/packages.el b/.config/doom/packages.el index b7a6c5d..f3367cb 100644 --- a/.config/doom/packages.el +++ b/.config/doom/packages.el @@ -3,3 +3,4 @@ (package! crux) (package! message-view-patch) +(package! highlight-numbers) |
