Adds config for avante AI client

This commit is contained in:
Dennis Schoepf 2025-01-27 23:10:40 +01:00
parent a8d76f7f4d
commit 640eccae4c
2 changed files with 30 additions and 1 deletions

View file

@ -0,0 +1,29 @@
return {
"yetone/avante.nvim",
event = "VeryLazy",
lazy = false,
version = false, -- Set this to "*" to always pull the latest release version, or set it to false to update to the latest code changes.
opts = {
provider = "claude",
},
-- if you want to build from source then do `make BUILD_FROM_SOURCE=true`
build = "make",
-- build = "powershell -ExecutionPolicy Bypass -File Build.ps1 -BuildFromSource false" -- for windows
dependencies = {
"stevearc/dressing.nvim",
"nvim-lua/plenary.nvim",
"MunifTanjim/nui.nvim",
--- The below dependencies are optional,
"nvim-telescope/telescope.nvim", -- for file_selector provider telescope
"hrsh7th/nvim-cmp", -- autocompletion for avante commands and mentions
"nvim-tree/nvim-web-devicons",
{
-- Make sure to set this up properly if you have lazy=true
"MeanderingProgrammer/render-markdown.nvim",
opts = {
file_types = { "markdown", "Avante" },
},
ft = { "markdown", "Avante" },
},
},
}

View file

@ -10,7 +10,7 @@ return {
org_agenda_files = "~/orgnzr/**/*",
org_default_notes_file = "~/orgnzr/inbox.org",
org_todo_keywords = { "PROJECT(p)", "TODO(t)", "NEXT(n)", "|", "DONE(d)" },
win_split_mode = "120vsplit",
win_split_mode = "auto",
org_startup_indented = true,
org_indent_mode_turns_off_org_adapt_indentation = true,
org_hide_leading_stars = true,