From 6971815c64f89dae7c48b0960526246e09499ffe Mon Sep 17 00:00:00 2001
From: sefidel <contact@sefidel.net>
Date: Sun, 19 May 2024 00:09:06 +0900
Subject: feat(packs/fidget): migrate to main

---
 fnl/nvrc/colors.fnl       | 2 ++
 fnl/nvrc/pack.fnl         | 2 +-
 fnl/nvrc/packs/fidget.fnl | 8 +++++---
 3 files changed, 8 insertions(+), 4 deletions(-)

(limited to 'fnl')

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]}})
-- 
cgit 1.4.1