Variable: treemacs-tag-follow-cleanup
treemacs-tag-follow-cleanup is a customizable variable defined in
treemacs-customization.el.
Value
t
Documentation
When non-nil treemacs-tag-follow-mode(var)/treemacs-tag-follow-mode(fun) will close file nodes it is leaving.
When jumping between different files this can prevent the view from being flooded with their tags.
Source Code
;; Defined in ~/.emacs.d/elpa/treemacs-20251226.1307/treemacs-customization.el
(defcustom treemacs-tag-follow-cleanup t
"When non-nil `treemacs-tag-follow-mode' will close file nodes it is leaving.
When jumping between different files this can prevent the view from being
flooded with their tags."
:type 'boolean
:group 'treemacs-follow)