mirror of
https://github.com/doomemacs/doomemacs
synced 2025-08-01 12:17:25 -05:00
Enable TODO/FIXME/NOTE fontification in css-modes
This commit is contained in:
@ -87,7 +87,7 @@
|
|||||||
"Face for FIXMEs")
|
"Face for FIXMEs")
|
||||||
(defface narf-note-face '((t (:inherit font-lock-warning-face)))
|
(defface narf-note-face '((t (:inherit font-lock-warning-face)))
|
||||||
"Face for NOTEs")
|
"Face for NOTEs")
|
||||||
(add-hook! (prog-mode emacs-lisp-mode)
|
(add-hook! (prog-mode emacs-lisp-mode css-mode)
|
||||||
(font-lock-add-keywords
|
(font-lock-add-keywords
|
||||||
nil '(("\\<\\(TODO\\(?:(.*)\\)?:?\\)\\>" 1 'narf-todo-face prepend)
|
nil '(("\\<\\(TODO\\(?:(.*)\\)?:?\\)\\>" 1 'narf-todo-face prepend)
|
||||||
("\\<\\(FIXME\\(?:(.*)\\)?:?\\)\\>" 1 'narf-fixme-face prepend)
|
("\\<\\(FIXME\\(?:(.*)\\)?:?\\)\\>" 1 'narf-fixme-face prepend)
|
||||||
|
Reference in New Issue
Block a user