mirror of
https://github.com/neovim/neovim
synced 2025-07-16 09:11:51 +00:00
fix(diagnostic): virtual lines should scroll horizontally
This commit is contained in:
@ -1871,7 +1871,10 @@ local function render_virtual_lines(namespace, bufnr, diagnostics)
|
||||
end
|
||||
end
|
||||
|
||||
api.nvim_buf_set_extmark(bufnr, namespace, lnum, 0, { virt_lines = virt_lines })
|
||||
api.nvim_buf_set_extmark(bufnr, namespace, lnum, 0, {
|
||||
virt_lines_overflow = 'scroll',
|
||||
virt_lines = virt_lines,
|
||||
})
|
||||
end
|
||||
end
|
||||
|
||||
|
Reference in New Issue
Block a user