summaryrefslogtreecommitdiff
path: root/fnl/plugins/editor/neogit.fnl
diff options
context:
space:
mode:
authorGustaf Rydholm <gustaf.rydholm@gmail.com>2023-09-24 01:12:42 +0200
committerGustaf Rydholm <gustaf.rydholm@gmail.com>2023-09-24 01:12:42 +0200
commit8ad2f8c9afb308e7a8a1133f578e3352442f770a (patch)
treea7a05ed7c472f186d6380dd918e2318d6d951330 /fnl/plugins/editor/neogit.fnl
parentfd69ec549594d53b9503212d93a9a44f10eef478 (diff)
Restructure plugin configs
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}