From 4783377184ea999b035b4e592c08b899e201b8aa Mon Sep 17 00:00:00 2001 From: Price Hiller Date: Fri, 16 Jun 2023 19:35:36 -0500 Subject: [PATCH] fix(nvim): do not return nil for lsp servers if none are found --- dots/.config/nvim/lua/plugins/configs/statusline.lua | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/dots/.config/nvim/lua/plugins/configs/statusline.lua b/dots/.config/nvim/lua/plugins/configs/statusline.lua index 8102d592..a44fcb1b 100755 --- a/dots/.config/nvim/lua/plugins/configs/statusline.lua +++ b/dots/.config/nvim/lua/plugins/configs/statusline.lua @@ -63,7 +63,7 @@ local show_lsp_name = { end end end - return msg + return msg or "No Active Lsp" end end, icon = " LSP:",