mirror of
https://github.com/doomemacs/doomemacs
synced 2025-08-01 12:17:25 -05:00
Fix lingering hl-line overlays
This commit is contained in:
@ -211,6 +211,10 @@ file."
|
||||
(setq hl-line-sticky-flag nil
|
||||
global-hl-line-sticky-flag nil)
|
||||
|
||||
;; Fix lingering hl-line overlays
|
||||
(add-hook! 'hl-line-mode-hook
|
||||
(remove-overlays (point-min) (point-max) 'face 'hl-line))
|
||||
|
||||
;; Acts & looks weird with evil visual mode, so disable it temporarily
|
||||
(defun doom|hl-line-off () (hl-line-mode -1))
|
||||
(after! evil
|
||||
|
Reference in New Issue
Block a user