mirror of
https://github.com/Dichgrem/DCGOS.git
synced 2025-12-16 19:22:00 -05:00
feat:use biome fmt test:add copilot chore:let terminal just one fix:keymaps for close buffer fix:disable markdown view && fix conceallevel
29 lines
598 B
Lua
29 lines
598 B
Lua
return {
|
|
{
|
|
"zbirenbaum/copilot.lua",
|
|
cmd = "Copilot",
|
|
event = "InsertEnter",
|
|
config = function()
|
|
require("copilot").setup({
|
|
suggestion = { enabled = true, auto_trigger = true },
|
|
})
|
|
end,
|
|
},
|
|
|
|
{
|
|
"CopilotC-Nvim/CopilotChat.nvim",
|
|
branch = "main",
|
|
dependencies = {
|
|
{ "zbirenbaum/copilot.lua" },
|
|
{ "nvim-lua/plenary.nvim" },
|
|
},
|
|
opts = {
|
|
debug = false,
|
|
},
|
|
keys = {
|
|
{ "<leader>cc", "<cmd>CopilotChatToggle<cr>", desc = "CopilotChat - Toggle" },
|
|
{ "<leader>ce", "<cmd>CopilotChatExplain<cr>", mode = "v", desc = "CopilotChat - Explain code" },
|
|
},
|
|
},
|
|
}
|