Emacs: Re-resize fringe in treemacs for the indicator.

This commit is contained in:
tastytea 2020-10-15 12:13:29 +02:00
parent 34764d1306
commit 5a7baad87b

View File

@ -1,6 +1,6 @@
;;; appearance.el --- Configure appearance. -*- lexical-binding: t; -*- ;;; appearance.el --- Configure appearance. -*- lexical-binding: t; -*-
;; Time-stamp: <2020-05-24T22:30:48+0200> ;; Time-stamp: <2020-10-15T12:12:52+0200>
;;; Commentary: ;;; Commentary:
@ -92,6 +92,12 @@
(doom-modeline-buffer-file-name-style 'truncate-except-project) (doom-modeline-buffer-file-name-style 'truncate-except-project)
(mode-line-percent-position nil) ; Don't display percentage. (mode-line-percent-position nil) ; Don't display percentage.
(doom-modeline-buffer-state-icon nil)) ; Don't display save icon. (doom-modeline-buffer-state-icon nil)) ; Don't display save icon.
:config (progn
(defun my/treemacs-reset-fringe ()
"Make fringe in treemacs visible again."
(set-window-fringes (selected-window) 8))
(advice-add #'doom-themes-hide-fringes-maybe
:after #'my/treemacs-reset-fringe))
:hook (after-init . doom-modeline-mode)) :hook (after-init . doom-modeline-mode))
;; Show line numbers on the left side of the buffer. ;; Show line numbers on the left side of the buffer.