Highlight-numbers on every prog-mode
This commit is contained in:
parent
a07126f611
commit
90d09e6f93
6 changed files with 3 additions and 7 deletions
|
@ -79,8 +79,7 @@ compilation database is present in the project.")
|
|||
;;; Better fontification (also see `modern-cpp-font-lock')
|
||||
(add-hook 'c-mode-common-hook #'rainbow-delimiters-mode)
|
||||
(add-hook! '(c-mode-hook c++-mode-hook)
|
||||
#'(highlight-numbers-mode
|
||||
+cc|fontify-constants))
|
||||
#'(+cc|fontify-constants))
|
||||
|
||||
;; Custom style, based off of linux
|
||||
(unless (assoc "doom" c-style-alist)
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue