Improve TODO/FIXME/NOTE fontification
This commit is contained in:
parent
70b4f0d188
commit
0af304b311
1 changed files with 3 additions and 3 deletions
|
@ -89,9 +89,9 @@
|
||||||
"Face for NOTEs")
|
"Face for NOTEs")
|
||||||
(add-hook! (prog-mode emacs-lisp-mode)
|
(add-hook! (prog-mode emacs-lisp-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)
|
||||||
("\\<\\(NOTE\\((.+)\\)?:?\\)" 1 'narf-note-face prepend))))
|
("\\<\\(NOTE\\(?:(.*)\\)?:?\\)\\>" 1 'narf-note-face prepend))))
|
||||||
|
|
||||||
;; Fade out when unfocused
|
;; Fade out when unfocused
|
||||||
(add-hook! focus-in (set-frame-parameter nil 'alpha 100))
|
(add-hook! focus-in (set-frame-parameter nil 'alpha 100))
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue