about summary refs log tree commit diff
path: root/fnl/nvrc
diff options
context:
space:
mode:
authorsefidel <contact@sefidel.net>2024-05-19 00:09:06 +0900
committersefidel <contact@sefidel.net>2024-05-19 00:09:06 +0900
commit6971815c64f89dae7c48b0960526246e09499ffe (patch)
tree41bc002e39787d0ab7ca2416a5b1df4fdb42003c /fnl/nvrc
parent4a0f1b4d56e1c7d212a05c6d69a1e27790065e16 (diff)
downloadnvimrc-6971815c64f89dae7c48b0960526246e09499ffe.tar.gz
nvimrc-6971815c64f89dae7c48b0960526246e09499ffe.zip
feat(packs/fidget): migrate to main
Diffstat (limited to 'fnl/nvrc')
-rw-r--r--fnl/nvrc/colors.fnl2
-rw-r--r--fnl/nvrc/pack.fnl2
-rw-r--r--fnl/nvrc/packs/fidget.fnl8
3 files changed, 8 insertions, 4 deletions
diff --git a/fnl/nvrc/colors.fnl b/fnl/nvrc/colors.fnl
index fba6aa3..cea5567 100644
--- a/fnl/nvrc/colors.fnl
+++ b/fnl/nvrc/colors.fnl
@@ -53,6 +53,8 @@
   (highlight! :DiagnosticSignInfo {:fg (. colors :green) :bg (. colors :light_bg)})
   (highlight! :DiagnosticSignHint {:fg (. colors :graphite) :bg (. colors :light_bg)})
 
+  (highlight! :WarningMsg {:fg (. colors :yellow)})
+
   ; Leap
   (highlight! :LeapMatch {:fg (. colors :selection) :underline true :bold true :nocombine true})
   (highlight! :LeapLabelPrimary {:fg :black :bg (. colors :selection) :bold true})
diff --git a/fnl/nvrc/pack.fnl b/fnl/nvrc/pack.fnl
index c7658f4..20c9a4a 100644
--- a/fnl/nvrc/pack.fnl
+++ b/fnl/nvrc/pack.fnl
@@ -19,7 +19,7 @@
 
 (pack! :neovim/nvim-lspconfig {:req :lspconfig
                                :event [:BufReadPre :BufNewFile]
-                               :dependencies [(pack :j-hui/fidget.nvim {:req :fidget :branch :legacy})]})
+                               :dependencies [(pack :j-hui/fidget.nvim {:req :fidget})]})
 (pack! :mrcjkb/rustaceanvim {:req :rust
                                   :event [:BufReadPre :BufNewFile] ;; doesn't work when loaded on filetype
                                   :dependencies [(pack :nvim-lua/plenary.nvim)]})
diff --git a/fnl/nvrc/packs/fidget.fnl b/fnl/nvrc/packs/fidget.fnl
index ab0014e..0951dc1 100644
--- a/fnl/nvrc/packs/fidget.fnl
+++ b/fnl/nvrc/packs/fidget.fnl
@@ -1,5 +1,7 @@
 (local {: setup} (require :fidget))
 
-(setup {:text {:done "^.^!"
-               :spinner :dots}
-        :sources {:ltex {:ignore true}}})
+(setup {:progress {:display {:done_icon "^.^!"
+                             :progress_icon {:pattern :dots :period 1}
+                             :render_limit 3}
+                   :lsp {:progress_ringbuf_size 1024}
+                   :ignore [:ltex]}})