Variable: treemacs-litter-directories

treemacs-litter-directories is a customizable variable defined in treemacs-customization.el.

Value

("/node_modules" "/.venv" "/.cask")

Documentation

List of directories affected by treemacs-cleanup-litter.

Every item in the list is a regular expression, to be recognised a directory must be matched with string-match-p.

Regexp-quoting the items in this list is *not* necessary, the quoting will happen automatically when needed.

Source Code

;; Defined in ~/.emacs.d/elpa/treemacs-20251226.1307/treemacs-customization.el
(defcustom treemacs-litter-directories '("/node_modules" "/.venv" "/.cask")
  "List of directories affected by `treemacs-cleanup-litter'.
Every item in the list is a regular expression, to be recognised a directory
must be matched with `string-match-p'.

Regexp-quoting the items in this list is *not* necessary, the quoting will
happen automatically when needed."
  :type '(list string)
  :group 'treemacs)