Enable TODO/FIXME/NOTE fontification in css-modes
This commit is contained in:
parent
593965f753
commit
9bccd74533
1 changed files with 1 additions and 1 deletions
|
@ -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)
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue