#! /usr/bin/env lua -- -- ai.lua -- Copyright (C) 2025 veypi -- -- Distributed under terms of the MIT license. -- return { "zbirenbaum/copilot.lua", cmd = "Copilot", build = ":Copilot auth", event = "BufReadPost", opts = { suggestion = { enabled = not vim.g.ai_cmp, auto_trigger = true, hide_during_completion = vim.g.ai_cmp, keymap = { accept = false, -- handled by nvim-cmp / blink.cmp next = "", prev = "", }, }, panel = { enabled = false }, filetypes = { markdown = true, help = true, }, }, }