Variable: dtrt-indent-min-offset
dtrt-indent-min-offset is a customizable variable defined in
dtrt-indent.el.
Value
2
Documentation
*Minimum indentation offset that can be guessed.
You usually don't want to tinker with this - setting it to a higher value than 2 means that the rather common offset of 2 will no longer be guessed. Setting it to 1 will likely screw up dtrt-indent algorithms because every line in every source code matches that indentation level.
Source Code
;; Defined in /nix/store/xl774j723v677bsfsybzln3vi6w0fpm3-emacs-packages-deps/share/emacs/site-lisp/elpa/dtrt-indent-20260709.2011/dtrt-indent.el
(defcustom dtrt-indent-min-offset 2
"*Minimum indentation offset that can be guessed.
You usually don't want to tinker with this - setting it to a
higher value than 2 means that the rather common offset of 2 will
no longer be guessed. Setting it to 1 will likely screw up
dtrt-indent algorithms because every line in every source code
matches that indentation level."
:type 'integer
:tag "Minimum Guessed Indentation Offset"
:group 'dtrt-indent)