From 2176d85f3958d7f7a36ab33dd14b365bc5189ece Mon Sep 17 00:00:00 2001 From: matthewsia98 <71731492+matthewsia98@users.noreply.github.com> Date: Sat, 10 Sep 2022 05:14:26 -0400 Subject: [PATCH] corrected order returned by workspace diagnostic (#831) --- 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 96611ea..3432b9e 100644 --- a/lua/lualine/components/diagnostics/sources.lua +++ b/lua/lualine/components/diagnostics/sources.lua @@ -40,8 +40,8 @@ M.sources = { return workspace_diag(diag_severity.ERROR), workspace_diag(diag_severity.WARN), - workspace_diag(diag_severity.HINT), - workspace_diag(diag_severity.INFO) + workspace_diag(diag_severity.INFO), + workspace_diag(diag_severity.HINT) end, nvim_diagnostic = function() local diagnostics = vim.diagnostic.get(0)