Highlight-numbers on every prog-mode

This commit is contained in:
Aria 2018-07-29 12:19:56 +10:00
parent a07126f611
commit 90d09e6f93
6 changed files with 3 additions and 7 deletions

View file

@ -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)