Variable: dtrt-indent-global-modes
dtrt-indent-global-modes is a customizable variable defined in
dtrt-indent.el.
Value
(prog-mode text-mode)
Documentation
Which major modes dtrt-indent-mode(var)/dtrt-indent-mode(fun) is switched on in.
This variable can be either t (all major modes), nil (no major modes), or a list of modes and (not modes) to switch use this minor mode or not. For instance
(c-mode (not message-mode mail-mode) text-mode)
means "use this mode in all modes derived from `c-mode', don't use in modes derived from `message-mode' or `mail-mode', but do use in other modes derived from `text-mode'". An element with value t means "use" and nil means "don't use". There's an implicit nil at the end of the list.
Source Code
;; Defined in /nix/store/xl774j723v677bsfsybzln3vi6w0fpm3-emacs-packages-deps/share/emacs/site-lisp/elpa/dtrt-indent-20260709.2011/dtrt-indent.el