refactor(nvim): update neogit config
This commit is contained in:
parent
00070666b8
commit
ae91d0c595
@ -1,15 +1,16 @@
|
|||||||
require("neogit").setup({
|
local neogit = require("neogit")
|
||||||
|
neogit.setup({
|
||||||
disable_insert_on_commit = "auto",
|
disable_insert_on_commit = "auto",
|
||||||
disable_commit_confirmation = true,
|
disable_commit_confirmation = true,
|
||||||
use_telescope = true,
|
|
||||||
integrations = {
|
integrations = {
|
||||||
diffview = true,
|
diffview = true,
|
||||||
|
telescope = true,
|
||||||
},
|
},
|
||||||
})
|
})
|
||||||
|
|
||||||
vim.api.nvim_create_autocmd("FileType", {
|
vim.api.nvim_create_autocmd("FileType", {
|
||||||
pattern = "*Neogit*",
|
pattern = "*Neogit*",
|
||||||
callback = function ()
|
callback = function()
|
||||||
vim.opt_local.list = false
|
vim.opt_local.list = false
|
||||||
end
|
end,
|
||||||
})
|
})
|
||||||
|
Loading…
Reference in New Issue
Block a user