mirror of
https://github.com/neovim/neovim.git
synced 2026-04-21 14:55:33 +00:00
fix: lsp and diagnostic highlight priority (#17461)
Closes https://github.com/neovim/neovim/issues/17456 * treesitter uses the default highlight priority of 50 * diagnostic highlights have a priority of 150 * lsp reference highlights have a priority of 200 This ensures proper ordering.
This commit is contained in:
committed by
GitHub
parent
5cb45dffba
commit
791e400858
@@ -920,7 +920,10 @@ M.handlers.underline = {
|
||||
underline_ns,
|
||||
higroup,
|
||||
{ diagnostic.lnum, diagnostic.col },
|
||||
{ diagnostic.end_lnum, diagnostic.end_col }
|
||||
{ diagnostic.end_lnum, diagnostic.end_col },
|
||||
'v',
|
||||
false,
|
||||
150
|
||||
)
|
||||
end
|
||||
save_extmarks(underline_ns, bufnr)
|
||||
|
||||
Reference in New Issue
Block a user