From b859727f7add187a76428c592830becb36b8ea27 Mon Sep 17 00:00:00 2001 From: Henrik Lissner Date: Sat, 27 Mar 2021 14:05:28 -0400 Subject: [PATCH] Never show hl-line in dashboard --- modules/ui/doom-dashboard/config.el | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/modules/ui/doom-dashboard/config.el b/modules/ui/doom-dashboard/config.el index a9a5a3332..ca83e6e04 100644 --- a/modules/ui/doom-dashboard/config.el +++ b/modules/ui/doom-dashboard/config.el @@ -190,7 +190,9 @@ PLIST can have the following properties: collect (cons car nil) into alist finally do (setq fringe-indicator-alist alist)) ;; Ensure point is always on a button - (add-hook 'post-command-hook #'+doom-dashboard-reposition-point-h nil t)) + (add-hook 'post-command-hook #'+doom-dashboard-reposition-point-h nil 'local) + ;; Never show hl-line, because the margin cut-off looks ugly! + (face-remap-add-relative 'hl-line '(:background nil))) (define-key! +doom-dashboard-mode-map [left-margin mouse-1] #'ignore