feat!: add custom display function for indices

This commit is contained in:
Kiana Sheibani 2026-02-04 16:25:42 -05:00
parent 6094bb05f3
commit bcb7c626b9
Signed by: toki
GPG key ID: 6CB106C25E86A9F7
2 changed files with 45 additions and 19 deletions

View file

@ -5,6 +5,7 @@
* Contents :TOC:noexport:
- [[#introduction][Introduction]]
- [[#changelog][Changelog]]
- [[#jan-26-2026][Jan. 26 2026]]
- [[#aug-26-2024][Aug. 26 2024]]
- [[#sep-11-2019][Sep. 11 2019]]
- [[#nov-15-2018][Nov. 15 2018]]
@ -29,6 +30,9 @@ as identifiers, as opposed to strictly increasing numbers. The public
API is largely the same, however, and simple numbers are still the default.
* Changelog
** Jan. 26 2026
- Added support for changing how Lisp indices are displayed via =winum-display-function=.
- Removed =winum-mode-line-p= predicate.
** Aug. 26 2024
- Added support for arbitrary Lisp objects (non-nil, compared with =equal=) as indices.
- Added customize variable =winum-auto-assign-function= to control auto-assigning behavior.