-- Copilot
return {
    "zbirenbaum/copilot.lua",
    cmd = "Copilot",
    event = "InsertEnter",
    opts = {
        suggestion = {
            auto_trigger = true,
            auto_refresh = true,
            keymap = {
                accept = "<leader><Tab>",
            },
        },
        filetypes = {
            ["*"] = true, -- Enable for all filetypes by default
            ["dap-repl"] = false,
            ["dapui_scopes"] = false,
            ["dapui_stacks"] = false,
            ["dapui_watches"] = false,
            ["dapui_breakpoints"] = false,
            ["TelescopePrompt"] = false,
            ["Trouble"] = false,
        }
    }
}

-- Supermaven
-- return {
--     "supermaven-inc/supermaven-nvim",
--     opts = {
--         keymaps = {
--             accept_suggestion = "<leader><tab>",
--             accept_word = "<C-j>",
--         },
--         disable_keymaps = false, -- disables built in keymaps for more manual control
--     }
-- }

-- Neocodium
-- return {
--     "monkoose/neocodeium",
--     event = "InsertEnter",
--     config = function()
--         local neocodeium = require("neocodeium")
--         neocodeium.setup()
--         vim.keymap.set("i", "<leader><tab>", neocodeium.accept)
--         vim.keymap.set("i", "<leader>a", function () neocodeium.cycle_or_complete(1) end)
--     end,
-- }
