--- @type LazyPluginSpec return { "zbirenbaum/copilot.lua", cmd = "Copilot", event = "InsertEnter", config = function() require("copilot").setup({ panel = { enabled = false, keymap = { open = "", }, }, suggestion = { enabled = false, auto_trigger = true, keymap = { accept = "", }, }, filetypes = { lua = true, javascript = true, python = true, markdown = true, help = true, json = true, sh = function() if string.match(vim.fs.basename(vim.api.nvim_buf_get_name(0)), "^%.env.*") then return false end return true end, ["grug-far"] = false, }, }) end, }