dotfiles/home/private_dot_config/nvim/lua/plugins/ai-config.lua
Matthew Ryan Dillon 4db7bcac3b editor: setting up neovim again
been using helix for a few years now, but wanted to test the neovim
waters again. mostly just ripped off "neovim for newbs"
https://www.youtube.com/watch?v=zHTeCSVAFNY&list=PLsz00TDipIffreIaUNk64KxTIkQaGguqn
2025-02-16 15:17:09 -05:00

28 lines
681 B
Lua

return {
"yetone/avante.nvim",
opts = {
provider = "copilot",
},
dependencies = {
{
"zbirenbaum/copilot.lua",
config = function()
require("copilot").setup({
copilot_node_command = vim.fn.expand("$HOME") .. "/.nvm/versions/node/v22.14.0/bin/node",
suggestion = { enabled = false },
panel = { enabled = false },
})
end,
},
{
"MeanderingProgrammer/render-markdown.nvim",
opts = {
file_types = { "markdown", "Avante" },
},
ft = { "markdown", "Avante" },
},
},
config = function()
vim.keymap.set({ "n", "v" }, "<leader>a", "", { desc = "+ai" })
end,
}