mirror of
https://github.com/neovim/neovim.git
synced 2026-02-22 10:22:17 +10:00
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
(cherry picked from commit e9b6474ae7)
35 KiB
35 KiB