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:
parent
d0295a26d4
commit
e866fc46aa
1 changed files with 5 additions and 0 deletions
|
@ -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))
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue