mirror of
https://github.com/neovim/neovim.git
synced 2025-10-26 12:27:24 +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:
@@ -86,6 +86,7 @@ describe('vim.diagnostic', function()
|
||||
it('creates highlight groups', function()
|
||||
command('runtime plugin/diagnostic.vim')
|
||||
eq({
|
||||
'DiagnosticDeprecated',
|
||||
'DiagnosticError',
|
||||
'DiagnosticFloatingError',
|
||||
'DiagnosticFloatingHint',
|
||||
@@ -105,6 +106,7 @@ describe('vim.diagnostic', function()
|
||||
'DiagnosticUnderlineInfo',
|
||||
'DiagnosticUnderlineOk',
|
||||
'DiagnosticUnderlineWarn',
|
||||
'DiagnosticUnnecessary',
|
||||
'DiagnosticVirtualTextError',
|
||||
'DiagnosticVirtualTextHint',
|
||||
'DiagnosticVirtualTextInfo',
|
||||
|
||||
Reference in New Issue
Block a user