mirror of
https://github.com/doomemacs/doomemacs
synced 2025-09-02 14:53:38 -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:
@@ -56,8 +56,8 @@ Buffers that are considered unreal (see `doom-real-buffer-p') are dimmed with
|
||||
(prin1-to-string val))
|
||||
((stringp val)
|
||||
(propertize (format "%S" val) 'face 'font-lock-string-face))
|
||||
((numberp val)
|
||||
(propertize (format "%s" val) 'face 'highlight-numbers-number))
|
||||
((and (numberp val) (facep 'font-lock-number-face)) ; introduced in 29.1+
|
||||
(propertize (format "%s" val) 'face 'font-lock-number-face))
|
||||
((format "%s" val)))
|
||||
t)))
|
||||
|
||||
|
Reference in New Issue
Block a user