From 8ad2f8c9afb308e7a8a1133f578e3352442f770a Mon Sep 17 00:00:00 2001 From: Gustaf Rydholm Date: Sun, 24 Sep 2023 01:12:42 +0200 Subject: Restructure plugin configs --- fnl/plugins/editor/neogit.fnl | 11 +++++------ 1 file changed, 5 insertions(+), 6 deletions(-) (limited to 'fnl/plugins/editor/neogit.fnl') 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 :gm 2 :Neogit :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 :gm 2 :Neogit :desc :Neogit}]} +{1 :TimUntersberger/neogit :cmd :Neogit : opts : init : dependencies : keys} -- cgit v1.2.3-70-g09d2