summaryrefslogtreecommitdiff
path: root/fnl/config/fidget.fnl
diff options
context:
space:
mode:
authorGustaf Rydholm <gustaf.rydholm@gmail.com>2022-07-19 23:38:55 +0200
committerGustaf Rydholm <gustaf.rydholm@gmail.com>2022-07-19 23:38:55 +0200
commite12bf77a9fd8ebe81347532528c084d3a07c366a (patch)
tree9ef0b0c30ef01c7168edd6cb18323a8d3c273430 /fnl/config/fidget.fnl
parent3d53862b8c3f1ab19f4ac870079cc62fb886313d (diff)
Add util fun for loading most plugin opts
Diffstat (limited to 'fnl/config/fidget.fnl')
-rw-r--r--fnl/config/fidget.fnl5
1 files changed, 3 insertions, 2 deletions
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)