about summary refs log tree commit diff
path: root/fnl/nvrc/packs
diff options
context:
space:
mode:
authorsefidel <contact@sefidel.net>2022-02-26 14:43:38 +0900
committersefidel <contact@sefidel.net>2022-02-26 14:43:38 +0900
commit27010418b30db788bed4854465d3c7d1c1d548a8 (patch)
tree82f9eb4340e444fa568dce06dad76171994120f7 /fnl/nvrc/packs
parent4152f871951afdede2db2a08acff85aea2999c06 (diff)
downloadnvimrc-27010418b30db788bed4854465d3c7d1c1d548a8.tar.gz
nvimrc-27010418b30db788bed4854465d3c7d1c1d548a8.zip
feat(statusline): use fidget.nvim for LSP
Diffstat (limited to 'fnl/nvrc/packs')
-rw-r--r--fnl/nvrc/packs/feline.fnl9
-rw-r--r--fnl/nvrc/packs/fidget.fnl4
2 files changed, 6 insertions, 7 deletions
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}})