Updated config
This commit is contained in:
27
lua/taken/plugins/avante.lua
Normal file
27
lua/taken/plugins/avante.lua
Normal file
@@ -0,0 +1,27 @@
|
|||||||
|
return {
|
||||||
|
"yetone/avante.nvim",
|
||||||
|
event = "VeryLazy",
|
||||||
|
version = false,
|
||||||
|
build = "make",
|
||||||
|
dependencies = {
|
||||||
|
"nvim-treesitter/nvim-treesitter",
|
||||||
|
"stevearc/dressing.nvim",
|
||||||
|
"nvim-lua/plenary.nvim",
|
||||||
|
"MunifTanjim/nui.nvim",
|
||||||
|
"nvim-telescope/telescope.nvim",
|
||||||
|
"nvim-tree/nvim-web-devicons",
|
||||||
|
"zbirenbaum/copilot.lua",
|
||||||
|
},
|
||||||
|
config = function()
|
||||||
|
require("avante").setup({
|
||||||
|
provider = "gemini",
|
||||||
|
gemini = {
|
||||||
|
endpoint = "https://generativelanguage.googleapis.com/v1beta/models",
|
||||||
|
model = "gemini-2.0-flash-exp",
|
||||||
|
timeout = 30000,
|
||||||
|
temperature = 0,
|
||||||
|
max_tokens = 8192,
|
||||||
|
},
|
||||||
|
})
|
||||||
|
end,
|
||||||
|
}
|
||||||
@@ -23,6 +23,7 @@ return {
|
|||||||
})
|
})
|
||||||
|
|
||||||
require("tailwind-fold").setup({
|
require("tailwind-fold").setup({
|
||||||
|
enabled = false,
|
||||||
symbol = "",
|
symbol = "",
|
||||||
})
|
})
|
||||||
end,
|
end,
|
||||||
|
|||||||
@@ -1,7 +1,7 @@
|
|||||||
--- @type LazyPluginSpec
|
--- @type LazyPluginSpec
|
||||||
return {
|
return {
|
||||||
"MeanderingProgrammer/render-markdown.nvim",
|
"MeanderingProgrammer/render-markdown.nvim",
|
||||||
ft = "markdown",
|
ft = { "markdown", "Avante" },
|
||||||
dependencies = { "nvim-treesitter/nvim-treesitter", "nvim-tree/nvim-web-devicons" },
|
dependencies = { "nvim-treesitter/nvim-treesitter", "nvim-tree/nvim-web-devicons" },
|
||||||
config = function()
|
config = function()
|
||||||
require("render-markdown").setup({
|
require("render-markdown").setup({
|
||||||
@@ -12,6 +12,7 @@ return {
|
|||||||
sign = true,
|
sign = true,
|
||||||
width = "block",
|
width = "block",
|
||||||
},
|
},
|
||||||
|
file_types = { "markdown", "Avante" },
|
||||||
})
|
})
|
||||||
end,
|
end,
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user