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
This commit is contained in:
parent
25e22570c8
commit
4db7bcac3b
19 changed files with 333 additions and 33 deletions
28
home/private_dot_config/nvim/lua/plugins/ai-config.lua
Normal file
28
home/private_dot_config/nvim/lua/plugins/ai-config.lua
Normal file
|
@ -0,0 +1,28 @@
|
|||
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,
|
||||
}
|
Loading…
Add table
Add a link
Reference in a new issue