Variable: indent-bars-highlight-selection-method
indent-bars-highlight-selection-method is a customizable variable
defined in indent-bars.el.
Value
context
Documentation
Method for selecting bar depth for current indentation highlight.
If nil, the last showing bar on the current line is selected for
highlight. If the symbol on-bar, and the start of the text on the
line would have fallen directly on a bar, highlight that bar depth
instead. If context, use on-bar logic, but only if a directly
adjacent (non-blank) context line is indented deeper by more than one
indent spacing. Otherwise select the last bar actually shown for
highlight (i.e. the same as CONTEXT nil).
Source Code
;; Defined in /nix/store/zkcdcnmcj3605fj09x584bf58d85brax-emacs-packages-deps/share/emacs/site-lisp/elpa/indent-bars-1.0.1/indent-bars.el
(defcustom indent-bars-highlight-selection-method 'context
"Method for selecting bar depth for current indentation highlight.
If nil, the last showing bar on the current line is selected for
highlight. If the symbol `on-bar', and the start of the text on the
line would have fallen directly on a bar, highlight that bar depth
instead. If `context', use `on-bar' logic, but only if a directly
adjacent (non-blank) context line is indented deeper by more than one
indent spacing. Otherwise select the last bar actually shown for
highlight (i.e. the same as CONTEXT nil)."
:type '(choice (const :tag "Containing" nil)
(const :tag "On Bar" on-bar)
(const :tag "Context" context))
:group 'indent-bars)