From 3be2536ca039fb0f0de4ed2858db5a6d13baeba3 Mon Sep 17 00:00:00 2001 From: Lewis Russell Date: Tue, 6 Feb 2024 12:34:04 +0000 Subject: fix(lsp): send back diagnostic tags to the server Fixes: #27318 --- runtime/lua/vim/diagnostic.lua | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'runtime/lua/vim/diagnostic.lua') diff --git a/runtime/lua/vim/diagnostic.lua b/runtime/lua/vim/diagnostic.lua index ec465f4780..91f91b5879 100644 --- a/runtime/lua/vim/diagnostic.lua +++ b/runtime/lua/vim/diagnostic.lua @@ -11,7 +11,7 @@ local M = {} --- @field severity? vim.diagnostic.Severity --- @field message string --- @field source? string ---- @field code? string +--- @field code? string|integer --- @field _tags? { deprecated: boolean, unnecessary: boolean} --- @field user_data? any arbitrary data plugins can add --- @field namespace? integer -- cgit