diff --git a/lua/lualine/components/diagnostics/sources.lua b/lua/lualine/components/diagnostics/sources.lua index a459681..2c621c6 100644 --- a/lua/lualine/components/diagnostics/sources.lua +++ b/lua/lualine/components/diagnostics/sources.lua @@ -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, }