Fix lingering hl-line overlays
This commit is contained in:
parent
cbf9f7a079
commit
60a02b4792
1 changed files with 4 additions and 0 deletions
|
@ -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
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue