Highlight the : in comment annotations as well

This commit is contained in:
Bozhidar Batsov 2013-09-26 14:43:04 +03:00
parent b3277d190e
commit 7e20d8bf2b

View file

@ -95,7 +95,7 @@
This functions should be added to the hooks of major modes for programming."
(font-lock-add-keywords
nil '(("\\<\\(FIX\\(ME\\)?\\|TODO\\|OPTIMIZE\\|HACK\\|REFACTOR\\):"
nil '(("\\<\\(\\(FIX\\(ME\\)?\\|TODO\\|OPTIMIZE\\|HACK\\|REFACTOR\\):\\)"
1 font-lock-warning-face t))))
;; show the name of the current function definition in the modeline