mirror of
https://github.com/neovim/neovim.git
synced 2025-10-05 09:26:30 +00:00
feat(diagnostic): add support for tags
The LSP spec supports two tags that can be added to diagnostics: unnecessary and deprecated. Extend vim.diagnostic to be able to handle these.
This commit is contained in:
@@ -218,6 +218,8 @@ static const char *highlight_init_both[] = {
|
||||
"default link DiagnosticSignInfo DiagnosticInfo",
|
||||
"default link DiagnosticSignHint DiagnosticHint",
|
||||
"default link DiagnosticSignOk DiagnosticOk",
|
||||
"default DiagnosticDeprecated cterm=strikethrough gui=strikethrough guisp=Red",
|
||||
"default link DiagnosticUnnecessary Comment",
|
||||
|
||||
// Text
|
||||
"default link @text.literal Comment",
|
||||
|
Reference in New Issue
Block a user