mirror of
https://github.com/doomemacs/doomemacs
synced 2025-08-01 12:17:25 -05:00
refactor!: remove highlight-numbers
BREAKING CHANGE: Numerics will no longer be syntax highlighted in major modes that don't already have their own (or provided by tree-sitter). No substitute will be provided because it's trivial for the user to install themselves. Ref: https://github.com/orgs/doomemacs/projects/5/views/1?pane=issue&itemId=117610783
This commit is contained in:
@ -479,11 +479,6 @@ windows, switch to `doom-fallback-buffer'. Otherwise, delegate to original
|
||||
(add-hook! '(completion-list-mode-hook Man-mode-hook)
|
||||
#'hide-mode-line-mode)
|
||||
|
||||
;; Many major modes do no highlighting of number literals, so we do it for them
|
||||
(use-package! highlight-numbers
|
||||
:hook ((prog-mode conf-mode) . highlight-numbers-mode)
|
||||
:config (setq highlight-numbers-generic-regexp "\\_<[[:digit:]]+\\(?:\\.[0-9]*\\)?\\_>"))
|
||||
|
||||
;;;###package image
|
||||
(setq image-animate-loop t)
|
||||
|
||||
|
Reference in New Issue
Block a user