diff --git a/lua/valeth/plugins/neogit.lua b/lua/valeth/plugins/neogit.lua index 047fea9..8822d52 100644 --- a/lua/valeth/plugins/neogit.lua +++ b/lua/valeth/plugins/neogit.lua @@ -7,25 +7,10 @@ spec.dependencies = { } spec.keys = { - "vs", - "vc", + { "vs", "Neogit" }, + { "vc", "Neogit commit" }, } -spec.config = function() - local neogit = require("neogit") - - local function git_status() - neogit.open() - end - - local function git_commit() - neogit.open({ "commit" }) - end - - vim.keymap.set("n", "vs", git_status) - vim.keymap.set("n", "vc", git_commit) - - neogit.setup({}) -end +spec.config = true return spec