From dbe223f794bf1607efc13accec662446e4c8075a Mon Sep 17 00:00:00 2001 From: Case Duckworth Date: Mon, 24 Jan 2022 13:23:47 -0600 Subject: Add font-lock for keywords TODO, FIXME, BUG --- init.el | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/init.el b/init.el index 4756312..c8df8bc 100644 --- a/init.el +++ b/init.el @@ -44,6 +44,10 @@ ;; "C-x 3" #'+split-window-right-then ;; "C-x C-3" #'+split-window-right-then ) + ;; Font-lock keywords + (font-lock-add-keywords + nil + '(("\\<\\(TODO\\|XXX\\|FIXME\\|BUG\\):" 1 font-lock-warning-face t))) ;; C-h deletes backward - see https://idiomdrottning.org/bad-emacs-defaults (global-set-key (kbd "C-h") 'delete-backward-char) (keyboard-translate ?\C-h ?\C-?) @@ -843,6 +847,7 @@ They are completed by \"M-x TAB\" only in Tramp debug buffers." "C-l" #'lui-track-jump-to-indicator "C-" #'+circe-chat@set-prompt) + ;; XXX: this doesn't quite work right. (advice-add #'circe-command-PART :after #'+circe-kill-buffer) (advice-add #'circe-command-QUIT :after #'+circe-quit@kill-buffer) (advice-add #'circe-command-GQUIT :after #'+circe-gquit@kill-buffer) -- cgit 1.4.1-21-gabe81