diff --git a/init.el b/init.el index 3108f09..d1fbc8d 100644 --- a/init.el +++ b/init.el @@ -174,6 +174,7 @@ (require 'init-printing) (require 'init-smarter-than-emacs) (require 'init-dabbrev) +(require 'init-highlight) (require 'init-marginalia) (require 'init-avy) (require 'init-ui) diff --git a/lisp/init-highlight.el b/lisp/init-highlight.el new file mode 100644 index 0000000..4dd31d3 --- /dev/null +++ b/lisp/init-highlight.el @@ -0,0 +1,15 @@ +;; -*- lexical-binding: nil; -*- + + +(use-package hi-lock + :ensure nil + + :config + + ;; This disables the hi-lock-mode keymap, which conflicts with our + ;; window hydra (C-x w) and we don't need it anyway + (setcdr hi-lock-map (cdr (make-keymap))) + (set-keymap-parent hi-lock-map special-mode-map)) + + +(provide 'init-highlight)