Emacs: Re-resize fringe in treemacs for the indicator.
This commit is contained in:
parent
34764d1306
commit
5a7baad87b
|
@ -1,6 +1,6 @@
|
|||
;;; appearance.el --- Configure appearance. -*- lexical-binding: t; -*-
|
||||
|
||||
;; Time-stamp: <2020-05-24T22:30:48+0200>
|
||||
;; Time-stamp: <2020-10-15T12:12:52+0200>
|
||||
|
||||
;;; Commentary:
|
||||
|
||||
|
@ -92,6 +92,12 @@
|
|||
(doom-modeline-buffer-file-name-style 'truncate-except-project)
|
||||
(mode-line-percent-position nil) ; Don't display percentage.
|
||||
(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))
|
||||
|
||||
;; Show line numbers on the left side of the buffer.
|
||||
|
|
Loading…
Reference in New Issue
Block a user