fixup: missing hint value inside vim_lsp source (#421)

This commit is contained in:
Arthur Skobara 2021-11-05 13:55:28 +07:00 committed by GitHub
parent 7eff9bbeb4
commit 3f5cdc51a0
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -41,9 +41,9 @@ M.sources = {
vim_lsp = function()
local ok, data = pcall(vim.fn['lsp#get_buffer_diagnostics_counts'])
if ok then
return data.error, data.warning, data.information
return data.error, data.warning, data.information, data.hint
else
return 0, 0, 0
return 0, 0, 0, 0
end
end,
}