Enable highlight-numbers-mode in conf-modes
This commit is contained in:
parent
ba16dd8954
commit
9970fdac2c
1 changed files with 1 additions and 1 deletions
|
@ -100,7 +100,7 @@ Expects a `font-spec'.")
|
|||
|
||||
;; `highlight-numbers' --- better number literal fontification in code
|
||||
(def-package! highlight-numbers
|
||||
:hook (prog-mode . highlight-numbers-mode)
|
||||
:hook ((prog-mode conf-mode) . highlight-numbers-mode)
|
||||
:config (setq highlight-numbers-generic-regexp "\\_<[[:digit:]]+\\(?:\\.[0-9]*\\)?\\_>"))
|
||||
|
||||
;; `highlight-escape-sequences'
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue