mirror of
https://github.com/doomemacs/doomemacs
synced 2025-08-03 12:27:26 -05:00
Fix lingering hl-line overlays
This commit is contained in:
@ -211,6 +211,10 @@ file."
|
|||||||
(setq hl-line-sticky-flag nil
|
(setq hl-line-sticky-flag nil
|
||||||
global-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
|
;; Acts & looks weird with evil visual mode, so disable it temporarily
|
||||||
(defun doom|hl-line-off () (hl-line-mode -1))
|
(defun doom|hl-line-off () (hl-line-mode -1))
|
||||||
(after! evil
|
(after! evil
|
||||||
|
Reference in New Issue
Block a user