From 7e20d8bf2b7cbe38d6e465b2b05709dba45968e3 Mon Sep 17 00:00:00 2001 From: Bozhidar Batsov Date: Thu, 26 Sep 2013 14:43:04 +0300 Subject: [PATCH] Highlight the : in comment annotations as well --- modules/prelude-programming.el | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/modules/prelude-programming.el b/modules/prelude-programming.el index b52fb9c..f12e2bc 100644 --- a/modules/prelude-programming.el +++ b/modules/prelude-programming.el @@ -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