mirror of
https://github.com/doomemacs/doomemacs
synced 2025-08-03 12:27:26 -05:00
ui/treemacs: make hl-line stand out more #846
By remapping it to the region face. Perhaps another face would be a better fit?
This commit is contained in:
@ -34,6 +34,11 @@ There are 2 possible values:
|
||||
(defvar treemacs-collapse-dirs
|
||||
(if (executable-find "python3") 3 0))
|
||||
|
||||
(defun +treemacs|improve-hl-line-contrast ()
|
||||
"`hl-line' doesn't stand out enough in some themes."
|
||||
(face-remap-add-relative 'hl-line 'region))
|
||||
(add-hook 'treemacs-mode-hook #'+treemacs|improve-hl-line-contrast)
|
||||
|
||||
(treemacs-follow-mode -1)
|
||||
(treemacs-filewatch-mode t)
|
||||
(when (memq +treemacs-use-git-mode '(simple extended))
|
||||
|
Reference in New Issue
Block a user