chore(buffer): add hl_mode to nvim_buf_set_extmark()

This commit is contained in:
Mushfiq Mahmud 2022-10-06 11:45:01 -04:00 committed by Aki
parent 62bc1e15f4
commit 760e27df4d

View file

@ -112,6 +112,7 @@ function buffer.add_highlight(buf, ns, line_start, line_end, data, options)
buf_set_virtual_text(0, ns, linenr, hl.range[2], {
end_col = hl.range[2],
virt_text = { { options.virtualtext or "", hlname } },
hl_mode = "combine",
})
end
end