Never show hl-line in dashboard

This commit is contained in:
Henrik Lissner 2021-03-27 14:05:28 -04:00
parent 83e0451cba
commit b859727f7a

View file

@ -190,7 +190,9 @@ PLIST can have the following properties:
collect (cons car nil) into alist collect (cons car nil) into alist
finally do (setq fringe-indicator-alist alist)) finally do (setq fringe-indicator-alist alist))
;; Ensure point is always on a button ;; 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 (define-key! +doom-dashboard-mode-map
[left-margin mouse-1] #'ignore [left-margin mouse-1] #'ignore