diff options
author | Franck Cuny <franck.cuny@gmail.com> | 2020-12-02 11:10:24 -0800 |
---|---|---|
committer | Franck Cuny <franck.cuny@gmail.com> | 2020-12-02 11:14:45 -0800 |
commit | 8b7704ca47b6e047f80c9461fd7e7e6c51001691 (patch) | |
tree | 9973d34c51288c274f363e2b839db6c6f008cd47 /emacs.d/custom | |
parent | emacs: smaller font on macos (diff) | |
download | emacs.d-8b7704ca47b6e047f80c9461fd7e7e6c51001691.tar.gz |
emacs: fix for hl-line
Diffstat (limited to 'emacs.d/custom')
-rw-r--r-- | emacs.d/custom/fcuny-ui.el | 7 |
1 files changed, 5 insertions, 2 deletions
diff --git a/emacs.d/custom/fcuny-ui.el b/emacs.d/custom/fcuny-ui.el index 6f1e913..a59d29b 100644 --- a/emacs.d/custom/fcuny-ui.el +++ b/emacs.d/custom/fcuny-ui.el @@ -34,9 +34,12 @@ (set-frame-font "Source Code Pro-11"))) (use-package hl-line - :hook ((prog-mode puppet-mode dired-mode org-mode markdown-mode conf-mode yaml-mode) . hl-line-mode) + :hook ((prog-mode text-mode conf-mode special-mode) . hl-line-mode) :custom - (hl-line-sticky-flag nil)) + ;; Not having to render the hl-line overlay in multiple buffers offers a tiny + ;; performance boost. I also don't need to see it in other buffers. + (hl-line-sticky-flag nil) + (global-hl-line-sticky-flag nil)) (use-package uniquify :defer 5 |