mirror of
https://github.com/neovim/neovim.git
synced 2025-12-07 23:22:39 +00:00
refactor(highlight)!: optional arguments for highlight.range as table (#17462)
also update documentation
BREAKING CHANGE: signature of highlight.range is now
vim.highlight.range(bufnr, ns, hlgroup, start, finish,
{ regtype = regtype, inclusive = inclusive, priority = priority })
Co-authored-by: Gregory Anders <8965202+gpanders@users.noreply.github.com>
This commit is contained in:
@@ -921,9 +921,7 @@ M.handlers.underline = {
|
||||
higroup,
|
||||
{ diagnostic.lnum, diagnostic.col },
|
||||
{ diagnostic.end_lnum, diagnostic.end_col },
|
||||
'v',
|
||||
false,
|
||||
150
|
||||
{ priority = vim.highlight.priorities.diagnostics }
|
||||
)
|
||||
end
|
||||
save_extmarks(underline_ns, bufnr)
|
||||
|
||||
Reference in New Issue
Block a user