31 lines
801 B
Lua
31 lines
801 B
Lua
return {
|
|
-- Add chat for Copilot
|
|
{
|
|
"CopilotC-Nvim/CopilotChat.nvim",
|
|
opts = {
|
|
model = "claude-3.5-sonnet",
|
|
debug = true,
|
|
auto_insert_mode = false,
|
|
},
|
|
build = function()
|
|
vim.notify("Please run 'make tiktoken' to use CopilotChat")
|
|
end,
|
|
dependencies = {
|
|
{ "zbirenbaum/copilot.lua" },
|
|
{ "nvim-lua/plenary.nvim" },
|
|
{
|
|
"MeanderingProgrammer/render-markdown.nvim",
|
|
dependencies = { "nvim-treesitter/nvim-treesitter", "nvim-tree/nvim-web-devicons" },
|
|
---@module 'render-markdown'
|
|
---@type render.md.UserConfig
|
|
opts = {},
|
|
config = function()
|
|
require("render-markdown").setup({
|
|
file_types = { "markdown", "copilot-chat" },
|
|
})
|
|
end,
|
|
},
|
|
},
|
|
},
|
|
}
|