summaryrefslogtreecommitdiff
path: root/fnl/config/minibar.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/minibar.fnl
parent3d53862b8c3f1ab19f4ac870079cc62fb886313d (diff)
Add util fun for loading most plugin opts
Diffstat (limited to 'fnl/config/minibar.fnl')
-rw-r--r--fnl/config/minibar.fnl47
1 files changed, 24 insertions, 23 deletions
diff --git a/fnl/config/minibar.fnl b/fnl/config/minibar.fnl
index 6d3cce7..7a6945a 100644
--- a/fnl/config/minibar.fnl
+++ b/fnl/config/minibar.fnl
@@ -1,25 +1,26 @@
(module config.minibar {autoload {: util}})
-(let [minibar (util.load-plugin :minibar)]
- (minibar.setup {:ignore-filetypes [:help
- :startify
- :dashboard
- :packer
- :neogitstatus
- :NvimTree
- :Trouble
- :alpha
- :lir
- :Outline
- :NeogitStatus
- :NeogitCommitMessage
- :NeogitNotification
- :NeogitCommitView
- :spectre_panel]
- :events [:CursorMoved
- :CursorHold
- :BufWinEnter
- :BufFilePost
- :InsertEnter
- :BufWritePost
- :TabClosed]}))
+(def- opts {:ignore-filetypes [:help
+ :startify
+ :dashboard
+ :packer
+ :neogitstatus
+ :NvimTree
+ :Trouble
+ :alpha
+ :lir
+ :Outline
+ :NeogitStatus
+ :NeogitCommitMessage
+ :NeogitNotification
+ :NeogitCommitView
+ :spectre_panel]
+ :events [:CursorMoved
+ :CursorHold
+ :BufWinEnter
+ :BufFilePost
+ :InsertEnter
+ :BufWritePost
+ :TabClosed]})
+
+(util.use-config :minibar opts)