From 27010418b30db788bed4854465d3c7d1c1d548a8 Mon Sep 17 00:00:00 2001 From: sefidel Date: Sat, 26 Feb 2022 14:43:38 +0900 Subject: feat(statusline): use fidget.nvim for LSP --- fnl/nvrc/packs/feline.fnl | 9 ++------- fnl/nvrc/packs/fidget.fnl | 4 ++++ 2 files changed, 6 insertions(+), 7 deletions(-) create mode 100644 fnl/nvrc/packs/fidget.fnl (limited to 'fnl/nvrc/packs') diff --git a/fnl/nvrc/packs/feline.fnl b/fnl/nvrc/packs/feline.fnl index 4953a7d..06d4f31 100644 --- a/fnl/nvrc/packs/feline.fnl +++ b/fnl/nvrc/packs/feline.fnl @@ -62,9 +62,6 @@ :icon "" :right_sep " " :hl {:fg (. colors :yellow)}} - :load_fidget {:provider #(utils.lsp_fidget) - :enabled #(utils.will_it_fit 80) - :hl {:fg (. colors :green)}} :diag_err {:provider :diagnostic_errors :enabled #(lsp.diagnostics_exist lsp_severity.ERROR) :left_sep " " @@ -116,8 +113,6 @@ (. modules :lsp :diag_info) (. modules :lsp :diag_hint)] :inactive []} - :middle {:active [(. modules :lsp :load_fidget)] - :inactive []} :right {:active [(. modules :git :branch) (. modules :git :add) (. modules :git :change) @@ -129,8 +124,8 @@ :inactive []}}) (local components - {:active [comps.left.active comps.middle.active comps.right.active] - :inactive [comps.left.inactive comps.middle.inactive comps.right.inactive]}) + {:active [comps.left.active comps.right.active] + :inactive [comps.left.inactive comps.right.inactive]}) (local properties {:force_inactive {:filetypes [:NvimTree :packer] diff --git a/fnl/nvrc/packs/fidget.fnl b/fnl/nvrc/packs/fidget.fnl new file mode 100644 index 0000000..9a2cad1 --- /dev/null +++ b/fnl/nvrc/packs/fidget.fnl @@ -0,0 +1,4 @@ +(local {: setup} (require :fidget)) + +(setup {:text {:done "^.^!" + :spinner :dots}}) -- cgit 1.4.1