From e12bf77a9fd8ebe81347532528c084d3a07c366a Mon Sep 17 00:00:00 2001 From: Gustaf Rydholm Date: Tue, 19 Jul 2022 23:38:55 +0200 Subject: Add util fun for loading most plugin opts --- fnl/config/fidget.fnl | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) (limited to 'fnl/config/fidget.fnl') diff --git a/fnl/config/fidget.fnl b/fnl/config/fidget.fnl index 734d1c9..fa87fd1 100644 --- a/fnl/config/fidget.fnl +++ b/fnl/config/fidget.fnl @@ -1,5 +1,6 @@ ;; Show lsp progress. (module config.fidget {autoload {: util}}) -(let [fidget (util.load-plugin :fidget)] - (fidget.setup {:text {:spinner :dots_snake}})) +(def- opts {:text {:spinner :dots_snake}}) + +(util.use-config :fidget opts) -- cgit v1.2.3-70-g09d2