From f5dc5ddb58ab0e754fef379e4d0ce785f6fe0883 Mon Sep 17 00:00:00 2001 From: Gustaf Rydholm Date: Tue, 25 Oct 2022 00:18:45 +0200 Subject: Replace fidget with lualine-lsp-progress --- fnl/config/lualine.fnl | 7 ++++++- 1 file changed, 6 insertions(+), 1 deletion(-) (limited to 'fnl/config/lualine.fnl') diff --git a/fnl/config/lualine.fnl b/fnl/config/lualine.fnl index 833e68e..459909c 100644 --- a/fnl/config/lualine.fnl +++ b/fnl/config/lualine.fnl @@ -52,6 +52,11 @@ :disabled_buftypes [:nvim-tree] :cond hide_in_width}) +(def- lsp-progress {1 :lsp_progress + :display_components [[:title :percentage :message]] + :timer {:progress_enddelay 500 + :lsp_client_name_enddelay 500}}) + (def- opts {:options {:icons_enabled true :theme :auto :component_separators "" @@ -63,7 +68,7 @@ :sections {:lualine_a [:mode] :lualine_b [branch diff] :lualine_c {} - :lualine_x [language-server diagnostics] + :lualine_x [lsp_progress language-server diagnostics] :lualine_y [filetype] :lualine_z [:location :progress]} :inactive_sections {:lualine_a [:mode] -- cgit v1.2.3-70-g09d2