dotfiles/.config/nvim/lua/plugins/llm.lua
Daniel McKnight 05874830dd Include copilot chat and completions.
Refactor configuration into more modules
2025-06-03 08:34:58 -07:00

31 lines
602 B
Lua

return {
{
"github/copilot.vim",
},
{
"CopilotC-Nvim/CopilotChat.nvim",
tag = "v3.4.0",
dependencies = {
{ "nvim-lua/plenary.nvim" },
{ "github/copilot.vim" },
},
build = "make tiktoken",
config = function()
require("CopilotChat").setup({
question_header = "",
answer_header = "",
separator = "",
error_header = "> [!ERROR] Error",
window = {
layout = "horizontal",
height = 0.3,
width = 0.25,
},
auto_insert_mode = false,
chat_autocomplete = false,
highlight_headers = false,
show_help = false,
})
end,
},
}