29 lines
633 B
Lua
29 lines
633 B
Lua
return function()
|
|
vim.defer_fn(function()
|
|
require("modules.utils").load_plugin("copilot", {
|
|
cmp = {
|
|
enabled = true,
|
|
method = "getCompletionsCycling",
|
|
},
|
|
panel = {
|
|
-- if true, it can interfere with completions in copilot-cmp
|
|
enabled = false,
|
|
},
|
|
suggestion = {
|
|
-- if true, it can interfere with completions in copilot-cmp
|
|
enabled = false,
|
|
},
|
|
filetypes = {
|
|
["bigfile"] = false,
|
|
["dap-repl"] = false,
|
|
["fugitive"] = false,
|
|
["fugitiveblame"] = false,
|
|
["git"] = false,
|
|
["gitcommit"] = false,
|
|
["log"] = false,
|
|
["toggleterm"] = false,
|
|
},
|
|
})
|
|
end, 100)
|
|
end
|