mirror of
https://github.com/neovim/neovim.git
synced 2025-09-06 03:18:16 +00:00
feat: use nvim_buf_set_extmark for vim.highlight (#16963)
Closes https://github.com/neovim/neovim/issues/13647 This allows customizing the priority of the highlights. * Add default priority of 50 * Use priority of 200 for highlight on yank * use priority of 40 for highlight references (LSP)
This commit is contained in:

committed by
GitHub

parent
f3193c7b54
commit
b455e0179b
@@ -1550,7 +1550,10 @@ do --[[ References ]]
|
||||
reference_ns,
|
||||
document_highlight_kind[kind],
|
||||
{ start_line, start_idx },
|
||||
{ end_line, end_idx })
|
||||
{ end_line, end_idx },
|
||||
nil,
|
||||
false,
|
||||
40)
|
||||
end
|
||||
end
|
||||
end
|
||||
|
Reference in New Issue
Block a user