refactor(nvim): update neogit config

This commit is contained in:
Price Hiller 2023-07-18 15:12:11 -05:00
parent 00070666b8
commit ae91d0c595
Signed by: Price
SSH Key Fingerprint: SHA256:Y4S9ZzYphRn1W1kbJerJFO6GGsfu9O70VaBSxJO7dF8

View File

@ -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,
})