fixup: missing hint value inside vim_lsp source (#421)
This commit is contained in:
parent
7eff9bbeb4
commit
3f5cdc51a0
@ -41,9 +41,9 @@ M.sources = {
|
|||||||
vim_lsp = function()
|
vim_lsp = function()
|
||||||
local ok, data = pcall(vim.fn['lsp#get_buffer_diagnostics_counts'])
|
local ok, data = pcall(vim.fn['lsp#get_buffer_diagnostics_counts'])
|
||||||
if ok then
|
if ok then
|
||||||
return data.error, data.warning, data.information
|
return data.error, data.warning, data.information, data.hint
|
||||||
else
|
else
|
||||||
return 0, 0, 0
|
return 0, 0, 0, 0
|
||||||
end
|
end
|
||||||
end,
|
end,
|
||||||
}
|
}
|
||||||
|
Loading…
x
Reference in New Issue
Block a user