From 3f5cdc51a08c437c7705e283eebd4cf9fbb18f80 Mon Sep 17 00:00:00 2001 From: Arthur Skobara Date: Fri, 5 Nov 2021 13:55:28 +0700 Subject: [PATCH] fixup: missing hint value inside vim_lsp source (#421) --- lua/lualine/components/diagnostics/sources.lua | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) 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, }