summaryrefslogtreecommitdiff
path: root/fnl/config/minibar.fnl
diff options
context:
space:
mode:
Diffstat (limited to 'fnl/config/minibar.fnl')
-rw-r--r--fnl/config/minibar.fnl58
1 files changed, 30 insertions, 28 deletions
diff --git a/fnl/config/minibar.fnl b/fnl/config/minibar.fnl
index 145577f..9e49c7f 100644
--- a/fnl/config/minibar.fnl
+++ b/fnl/config/minibar.fnl
@@ -1,30 +1,32 @@
-(module config.minibar {autoload {util config.util}})
+;; Show the filename in the top left corner.
-(def- opts {:ignore-filetypes [:help
- :harpoon
- :startify
- :dashboard
- :lir
- :alpha
- :packer
- :neogitstatus
- :Trouble
- :org
- :lazy
- :netrw
- :Outline
- :NeogitStatus
- :NeogitCommitMessage
- :NeogitNotification
- :NeogitCommitView
- :spectre_panel
- ""]
- :events [:CursorMoved
- :TermOpen
- :DirChanged
- :BufWinEnter
- :BufFilePost
- :InsertEnter
- :BufWritePost]})
+(local opts {:ignore-filetypes [:help
+ :harpoon
+ :startify
+ :dashboard
+ :lir
+ :alpha
+ :packer
+ :neogitstatus
+ :Trouble
+ :org
+ :lazy
+ :netrw
+ :Outline
+ :NeogitStatus
+ :NeogitCommitMessage
+ :NeogitNotification
+ :NeogitCommitView
+ :spectre_panel
+ ""]
+ :events [:CursorMoved
+ :TermOpen
+ :DirChanged
+ :BufWinEnter
+ :BufFilePost
+ :InsertEnter
+ :BufWritePost]})
-(util.setup :minibar opts)
+ {1 :aktersnurra/minibar.nvim
+ :event :BufReadPre
+ :config opts}