From ae91d0c59503f26e17af20ebf0088e5f60496097 Mon Sep 17 00:00:00 2001 From: Price Hiller Date: Tue, 18 Jul 2023 15:12:11 -0500 Subject: [PATCH] refactor(nvim): update neogit config --- dots/.config/nvim/lua/plugins/configs/neogit.lua | 9 +++++---- 1 file changed, 5 insertions(+), 4 deletions(-) diff --git a/dots/.config/nvim/lua/plugins/configs/neogit.lua b/dots/.config/nvim/lua/plugins/configs/neogit.lua index c8cf796e..6bc4df31 100644 --- a/dots/.config/nvim/lua/plugins/configs/neogit.lua +++ b/dots/.config/nvim/lua/plugins/configs/neogit.lua @@ -1,15 +1,16 @@ -require("neogit").setup({ +local neogit = require("neogit") +neogit.setup({ disable_insert_on_commit = "auto", disable_commit_confirmation = true, - use_telescope = true, integrations = { diffview = true, + telescope = true, }, }) vim.api.nvim_create_autocmd("FileType", { pattern = "*Neogit*", - callback = function () + callback = function() vim.opt_local.list = false - end + end, })