Variable: treemacs-fringe-indicator-mode
treemacs-fringe-indicator-mode is a customizable variable defined in
treemacs-fringe-indicator.el.
Value
t
Documentation
Non-nil if Treemacs-Fringe-Indicator mode is enabled.
See the treemacs-fringe-indicator-mode(var)/treemacs-fringe-indicator-mode(fun) command
for a description of this minor mode.
Setting this variable directly does not take effect;
either customize it (see the info node (emacs)Easy Customization)
or call the function treemacs-fringe-indicator-mode(var)/treemacs-fringe-indicator-mode(fun).
Key Bindings
Source Code
;; Defined in ~/.emacs.d/elpa/treemacs-20251226.1307/treemacs-fringe-indicator.el
(define-minor-mode treemacs-fringe-indicator-mode
"Toggle `treemacs-fringe-indicator-mode'.
When enabled, a visual indicator in the fringe will be displayed to highlight
the selected line in addition to `hl-line-mode'. Useful if `hl-line-mode'
doesn't stand out enough with your colour theme.
Can be called with one of two arguments:
- `always' will always show the fringe indicator.
- `only-when-focused' will only show the fringe indicator when the treemacs
window is focused (only possible with Emacs 27+).
For backward compatibility just enabling this mode without an explicit argument
has the same effect as using `always'."
:init-value nil
:global t
:lighter nil
:group 'treemacs
(if treemacs-fringe-indicator-mode
(progn
(setf arg (or arg t))
(if (memq arg '(always only-when-focused t))
(treemacs--setup-fringe-indicator-mode arg)
(call-interactively #'treemacs--setup-fringe-indicator-mode)))
(treemacs--tear-down-fringe-indicator-mode)))