nvim ai
This commit is contained in:
@@ -57,6 +57,7 @@ programs.neovim.plugins = [
|
||||
".config/nvim/lua/plugins/tiny-inline-diagnostic.lua".source = ./lua/plugins/tiny-inline-diagnostic.lua;
|
||||
".config/nvim/lua/plugins/conform.lua".source = ./lua/plugins/conform.lua;
|
||||
".config/nvim/lua/plugins/go.lua".source = ./lua/plugins/go.lua;
|
||||
# ".config/nvim/lua/plugins/avante.lua".source = ./lua/plugins/avante.lua;
|
||||
|
||||
}
|
||||
];
|
||||
|
||||
29
packages/nvim/lua/plugins/avante.lua
Normal file
29
packages/nvim/lua/plugins/avante.lua
Normal file
@@ -0,0 +1,29 @@
|
||||
return {
|
||||
"yetone/avante.nvim",
|
||||
event = "VeryLazy",
|
||||
version = false, -- Never set this value to "*"! Never!
|
||||
opts = {
|
||||
-- add any opts here
|
||||
-- for example
|
||||
provider = "copilot",
|
||||
},
|
||||
build = "make",
|
||||
dependencies = {
|
||||
"nvim-treesitter/nvim-treesitter",
|
||||
"stevearc/dressing.nvim",
|
||||
"nvim-lua/plenary.nvim",
|
||||
"MunifTanjim/nui.nvim",
|
||||
--- The below dependencies are optional,
|
||||
"nvim-telescope/telescope.nvim", -- for file_selector provider telescope
|
||||
"nvim-tree/nvim-web-devicons", -- or echasnovski/mini.icons
|
||||
"zbirenbaum/copilot.lua", -- for providers='copilot'
|
||||
{
|
||||
-- Make sure to set this up properly if you have lazy=true
|
||||
'MeanderingProgrammer/render-markdown.nvim',
|
||||
opts = {
|
||||
file_types = { "markdown", "Avante" },
|
||||
},
|
||||
ft = { "markdown", "Avante" },
|
||||
},
|
||||
},
|
||||
}
|
||||
6
packages/nvim/lua/plugins/copilot.lua
Normal file
6
packages/nvim/lua/plugins/copilot.lua
Normal file
@@ -0,0 +1,6 @@
|
||||
return {
|
||||
"zbirenbaum/copilot.lua",
|
||||
config = function ()
|
||||
require('copilot').setup({})
|
||||
end
|
||||
}
|
||||
Reference in New Issue
Block a user