aboutsummaryrefslogtreecommitdiff
path: root/runtime/lua/vim/lsp/util.lua
diff options
context:
space:
mode:
authorChristian Clason <c.clason@uni-graz.at>2022-02-21 21:21:42 +0100
committerGitHub <noreply@github.com>2022-02-21 21:21:42 +0100
commit10a46a20ce78efa80c1d1f7ac43b2a95ef92ea76 (patch)
treee5d0d1386982c5ae6e260bd60449d8449be57538 /runtime/lua/vim/lsp/util.lua
parent1e7cb2dcd975aadeb91b913f117b21c7775c3374 (diff)
downloadrneovim-10a46a20ce78efa80c1d1f7ac43b2a95ef92ea76.tar.gz
rneovim-10a46a20ce78efa80c1d1f7ac43b2a95ef92ea76.tar.bz2
rneovim-10a46a20ce78efa80c1d1f7ac43b2a95ef92ea76.zip
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>
Diffstat (limited to 'runtime/lua/vim/lsp/util.lua')
-rw-r--r--runtime/lua/vim/lsp/util.lua4
1 files changed, 1 insertions, 3 deletions
diff --git a/runtime/lua/vim/lsp/util.lua b/runtime/lua/vim/lsp/util.lua
index d93331c12f..655c3a4679 100644
--- a/runtime/lua/vim/lsp/util.lua
+++ b/runtime/lua/vim/lsp/util.lua
@@ -1551,9 +1551,7 @@ do --[[ References ]]
document_highlight_kind[kind],
{ start_line, start_idx },
{ end_line, end_idx },
- 'v',
- false,
- 200)
+ { priority = vim.highlight.priorities.user })
end
end
end