mirror of
https://github.com/neovim/neovim.git
synced 2025-09-25 04:28:33 +00:00
feat(decorations): deprecate nvim_buf_set_virtual_text
Full virt_text functionality is provided by nvim_buf_set_extmark
This commit is contained in:
@@ -1707,6 +1707,7 @@ HlMessage parse_hl_msg(Array chunks, Error *err)
|
||||
if (chunk.size == 2) {
|
||||
String hl = chunk.items[1].data.string;
|
||||
if (hl.size > 0) {
|
||||
// TODO(bfredl): use object_to_hl_id and allow integer
|
||||
int hl_id = syn_check_group((char_u *)hl.data, (int)hl.size);
|
||||
attr = hl_id > 0 ? syn_id2attr(hl_id) : 0;
|
||||
}
|
||||
|
Reference in New Issue
Block a user