add hl-line defaults

This commit is contained in:
James Cherti
2025-02-08 07:52:10 -05:00
parent 17cf5375d0
commit 94acbb622c

View File

@@ -503,4 +503,11 @@
;; Disable wrapping around when navigating Flymake errors.
(setq flymake-wrap-around nil)
;;; hl-line-mode
;; Restrict `hl-line-mode' highlighting to the current window, reducing visual
;; clutter and slightly improving `hl-line-mode' performance.
(setq hl-line-sticky-flag nil)
(setq global-hl-line-sticky-flag nil)
;;; init.el ends here