mirror of
https://github.com/neovim/neovim.git
synced 2026-03-10 18:14:50 +10:00
Problem: Ext_messages chunks only contain the highlight attr id, which
is not very useful for vim.ui_attach() consumers.
Solotion: Add highlight group id to message chunks, which can easily be
used to highlight text in the TUI through nvim_buf_set_extmark():
hl_group = synIDattr(id, "name").
7.4 KiB
7.4 KiB