local M = { "zbirenbaum/copilot.lua", event = { "VeryLazy" }, dependencies = { { "zbirenbaum/copilot-cmp", config = function() require("copilot_cmp").setup() end, }, }, } function M.config() require("copilot").setup({ panel = { enabled = true, auto_refresh = false, keymap = { jump_prev = "[[", jump_next = "]]", accept = "", refresh = "gr", open = "", }, }, suggestion = { enabled = true, auto_trigger = true, debounce = 75, keymap = { accept = "", next = "", prev = "", dismiss = "", }, }, filetypes = { yaml = false, markdown = false, help = false, gitcommit = false, gitrebase = false, hgcommit = false, svn = false, cvs = false, ["."] = false, }, copilot_node_command = "node", -- Node version must be < 18 server_opts_overrides = {}, }) end return M