Variable: treemacs-indentation

treemacs-indentation is a customizable variable defined in treemacs-customization.el.

Value

2

Documentation

The number of spaces or pixels each level is indented in the file tree.

If the value is integer, indentation is created by repeating treemacs-indentation-string. If the value is a list of form '(INTEGER px), indentation will be a space INTEGER pixels wide.

Source Code

;; Defined in ~/.emacs.d/elpa/treemacs-20251226.1307/treemacs-customization.el
(defcustom treemacs-indentation 2
  "The number of spaces or pixels each level is indented in the file tree.
If the value is integer, indentation is created by repeating
`treemacs-indentation-string'.  If the value is a list of form \\='(INTEGER px),
indentation will be a space INTEGER pixels wide."
  :type '(choice (integer :tag "Spaces" :value 2)
                 (list :tag "Pixels"
                       (integer :tag "Pixels" :value 16)
                       (const :tag "" px)))
  :group 'treemacs)