diff options
Diffstat (limited to 'home/.config/nvim/lua/custom')
-rw-r--r-- | home/.config/nvim/lua/custom/plugins/init.lua | 6 |
1 files changed, 4 insertions, 2 deletions
diff --git a/home/.config/nvim/lua/custom/plugins/init.lua b/home/.config/nvim/lua/custom/plugins/init.lua index 3483705..caa30e4 100644 --- a/home/.config/nvim/lua/custom/plugins/init.lua +++ b/home/.config/nvim/lua/custom/plugins/init.lua @@ -129,15 +129,17 @@ return { "NeogitOrg/neogit", dependencies = { "nvim-lua/plenary.nvim", + "nvim-telescope/telescope.nvim", }, config = function() - require("neogit").setup({ + local neogit = require("neogit") + neogit.setup({ disable_commit_confirmation = true, kind = "split", console_timeout = 5000, auto_show_console = false, }) - map.n("<leader>ng", require "neogit".open) + map.n("<leader>ng", neogit.open) end, }, { |