From 7d7181b3a3c74c0ace6cc84f1f520283c307f758 Mon Sep 17 00:00:00 2001 From: Vincent Zhang Date: Fri, 2 Aug 2019 02:09:29 +0800 Subject: [PATCH] Improve treemacs. --- lisp/init-treemacs.el | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/lisp/init-treemacs.el b/lisp/init-treemacs.el index ca3e04210..718df3526 100644 --- a/lisp/init-treemacs.el +++ b/lisp/init-treemacs.el @@ -56,9 +56,10 @@ (with-eval-after-load 'winum (bind-key (kbd "M-9") #'treemacs-select-window winum-keymap)) :config - (setq treemacs-collapse-dirs (if (executable-find "python") 3 0) + (setq treemacs-collapse-dirs (if treemacs-python-executable 3 0) treemacs-deferred-git-apply-delay 0.5 treemacs-display-in-side-window t + treemacs-eldoc-display t treemacs-file-event-delay 5000 treemacs-file-follow-delay 0.2 treemacs-follow-after-init t