1require("gitsigns").setup({ 2 on_attach = function() 3 vim.api.nvim_exec_autocmds("User", { 4 pattern = "GitAttach", 5 }) 6 end, 7})