format options
This commit is contained in:
@ -113,8 +113,7 @@ vim.diagnostic.config({
|
||||
float = {
|
||||
border = 'single',
|
||||
format = function(diagnostic)
|
||||
return string.format('%s (%s) [%s]', diagnostic.message, diagnostic.source,
|
||||
diagnostic.code or diagnostic.user_data.lsp.code)
|
||||
return string.format('%s (%s) [%s]', diagnostic.message, diagnostic.source, diagnostic.code or diagnostic.user_data.lsp.code)
|
||||
end,
|
||||
},
|
||||
})
|
||||
|
Reference in New Issue
Block a user