Add font-lock for keywords TODO, FIXME, BUG
This commit is contained in:
parent
48316556b1
commit
dbe223f794
5
init.el
5
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-<return>" #'+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)
|
||||
|
|
Loading…
Reference in New Issue