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/minibar.fnl | 47 ++++++++++++++++++++++++----------------------- 1 file changed, 24 insertions(+), 23 deletions(-) (limited to 'fnl/config/minibar.fnl') 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) -- cgit v1.2.3-70-g09d2