aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/home/.config/nvim/lua
diff options
context:
space:
mode:
authorLibravatar Arnold Sommerfeld <sommerfeld@strisemarx.com>2024-03-13 13:12:37 +0000
committerLibravatar Arnold Sommerfeld <sommerfeld@strisemarx.com>2024-03-13 13:12:37 +0000
commit6943c1ad5ac26643482265990beb4f651e2d81c5 (patch)
tree1604e9c23f87e77f3670e8082a33b73e761dacb1 /home/.config/nvim/lua
parent2070b7a9c00dd8b7b9ea7ed15f9d2718a55c5890 (diff)
downloaddotfiles-6943c1ad5ac26643482265990beb4f651e2d81c5.tar.gz
dotfiles-6943c1ad5ac26643482265990beb4f651e2d81c5.tar.bz2
dotfiles-6943c1ad5ac26643482265990beb4f651e2d81c5.zip
Add telescope as a neogit dep
Diffstat (limited to 'home/.config/nvim/lua')
-rw-r--r--home/.config/nvim/lua/custom/plugins/init.lua6
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,
},
{