summaryrefslogtreecommitdiff
path: root/fnl/plugins/editor/neogit.fnl
diff options
context:
space:
mode:
Diffstat (limited to 'fnl/plugins/editor/neogit.fnl')
-rw-r--r--fnl/plugins/editor/neogit.fnl11
1 files changed, 5 insertions, 6 deletions
diff --git a/fnl/plugins/editor/neogit.fnl b/fnl/plugins/editor/neogit.fnl
index 5a3c5e3..a84c9dd 100644
--- a/fnl/plugins/editor/neogit.fnl
+++ b/fnl/plugins/editor/neogit.fnl
@@ -1,5 +1,9 @@
;; Git ui.
+(local dependencies [:nvim-lua/plenary.nvim])
+
+(local keys [{1 :<leader>gm 2 :<cmd>Neogit<cr> :desc :Neogit}])
+
(local auto-cmds [[:FileType
{:pattern [:NeogitStatus
:NeogitCommitMessage
@@ -13,9 +17,4 @@
(local opts {:integrations {:diffview true :telescope true}})
-{1 :TimUntersberger/neogit
- :cmd :Neogit
- : opts
- : init
- :dependencies [:nvim-lua/plenary.nvim]
- :keys [{1 :<leader>gm 2 :<cmd>Neogit<cr> :desc :Neogit}]}
+{1 :TimUntersberger/neogit :cmd :Neogit : opts : init : dependencies : keys}