aboutsummaryrefslogtreecommitdiff
path: root/test/functional/vimscript/executable_spec.lua
diff options
context:
space:
mode:
authorglepnir <glephunter@gmail.com>2026-06-16 05:51:42 +0800
committerGitHub <noreply@github.com>2026-06-15 17:51:42 -0400
commit724e1421f8f37e28c9084622002e916ad727622e (patch)
tree9ca25823e9546ee73a718335b039b7323527082c /test/functional/vimscript/executable_spec.lua
parent4ed844be59ff6ee7f061a0d58a21bf7bea27c3d8 (diff)
downloadrneovim-724e1421f8f37e28c9084622002e916ad727622e.tar.gz
rneovim-724e1421f8f37e28c9084622002e916ad727622e.tar.bz2
rneovim-724e1421f8f37e28c9084622002e916ad727622e.zip
fix(api): keep highlight font through set/get and redraws #40200
Problem: a font set via nvim_set_hl is lost or corrupted with font-only groups, attribute combining, and update=true, and is dropped on any attr-table rebuild. nvim__inspect_cell also frees the font name while a returned dict still borrows it. Solution: register font-only groups, carry font through hl_combine_attr, inherit it on update, and persist sg_font so a rebuild can restore it. Keep interned font names across a rebuild instead of clearing them. Add the missing font field to get_hl_info. Co-authored-by: Ryan Patterson <cgamesplay@cgamesplay.com>
Diffstat (limited to 'test/functional/vimscript/executable_spec.lua')
0 files changed, 0 insertions, 0 deletions