diff options
| author | Lewis Russell <lewis6991@gmail.com> | 2025-11-19 10:59:12 +0000 |
|---|---|---|
| committer | Lewis Russell <me@lewisr.dev> | 2025-11-20 09:53:11 +0000 |
| commit | e9b6474ae7ea847ab1854fe5bc28b289f7eb2775 (patch) | |
| tree | aad0731761aae658761896ce08551031bf6dfa7e /runtime/lua/vim/_extui/shared.lua | |
| parent | 69b286c3bfb386597af9fc66625fdb6934594544 (diff) | |
fix(statusline): scope truncation bookkeeping
Limit the default truncation item to the current recursion range so
nested `nvim_eval_statusline()` calls don't reuse stale `stl_items`
pointers. Add a functional regression that evaluates a Lua statusline
helper which forces truncation to ensure the nested scenario stays
stable.
AI-Assist: OpenAI ChatGPT
Fixes #36616
Diffstat (limited to 'runtime/lua/vim/_extui/shared.lua')
0 files changed, 0 insertions, 0 deletions
