mirror of
https://github.com/LunarVim/LunarVim.git
synced 2024-09-20 10:35:08 +02:00
fix(lsp): diagnostic codes already show by default (#4070)
avoid viewing duplicate diagnostic codes since they are now already shown by default since neovim#21130
This commit is contained in:
parent
15c1f79ba2
commit
7a4265fa46
1 changed files with 0 additions and 7 deletions
|
@ -75,13 +75,6 @@ return {
|
|||
source = "always",
|
||||
header = "",
|
||||
prefix = "",
|
||||
format = function(d)
|
||||
local code = d.code or (d.user_data and d.user_data.lsp.code)
|
||||
if code then
|
||||
return string.format("%s [%s]", d.message, code):gsub("1. ", "")
|
||||
end
|
||||
return d.message
|
||||
end,
|
||||
},
|
||||
},
|
||||
document_highlight = false,
|
||||
|
|
Loading…
Reference in a new issue