From 3e49c39e53d1cc8fe65a4f47278bc99e8cbd5149 Mon Sep 17 00:00:00 2001 From: leafee98 Date: Thu, 14 Dec 2023 22:36:59 +0800 Subject: [PATCH] add plugin lualine-ex to display lsp info --- lua/plugins/13-lines.lua | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) diff --git a/lua/plugins/13-lines.lua b/lua/plugins/13-lines.lua index b9122a9..f878d79 100644 --- a/lua/plugins/13-lines.lua +++ b/lua/plugins/13-lines.lua @@ -43,14 +43,16 @@ return { "nvim-lualine/lualine.nvim", enabled = custom.full_feature, dependencies = { - "nvim-tree/nvim-web-devicons" + "nvim-tree/nvim-web-devicons", + "dokwork/lualine-ex", + "nvim-lua/plenary.nvim", }, main = "lualine", event = "VeryLazy", opts = { sections = { lualine_a = { "mode" }, - lualine_b = { "branch", "diff", "diagnostics" }, + lualine_b = { "branch", "diff", "ex.lsp.single", "diagnostics" }, lualine_c = { "filename" }, lualine_x = { "encoding" , "fileformat", "filetype" }, lualine_y = { "progress" },