ui/treemacs: remove hl-line->region face remapping

This causes more issues that solves. Perhaps something can be done
upstream to make this line highlight brighter.

Possibly addresses #957
This commit is contained in:
Henrik Lissner 2019-03-04 04:45:53 -05:00
parent 7097739994
commit 115d1990d4
No known key found for this signature in database
GPG Key ID: 5F6C0EA160557395

View File

@ -20,11 +20,6 @@
:quit nil
:ttl 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)
;; Don't follow the cursor
(treemacs-follow-mode -1)