avante.nvim has a hidden keybinding that I haven't found yet that I activated on accident once and couldn't deactivate that turns on auto suggestions. Needless to say that using Claude 3.7 for live suggestions is a bad idea. Not thank you to avante for that (on top of that the suggestion system was broken so I wasn't really getting any suggestions it was just consuming a LOT of tokens for nothing)
63 lines
1.1 KiB
Lua
63 lines
1.1 KiB
Lua
return {
|
|
"yetone/avante.nvim",
|
|
lazy = false,
|
|
priority = 10,
|
|
opts = {
|
|
hints = { enabled = false },
|
|
mappings = {
|
|
submit = {
|
|
insert = "<C-s>"
|
|
}
|
|
},
|
|
behaviour = {
|
|
auto_suggestions = false,
|
|
},
|
|
windows = {
|
|
width = 45,
|
|
sidebar_header = {
|
|
enabled = false,
|
|
},
|
|
input = {
|
|
prefix = "",
|
|
height = 5,
|
|
},
|
|
ask = {
|
|
floating = false,
|
|
start_insert = true,
|
|
border = "rounded",
|
|
focus_on_apply = "ours",
|
|
},
|
|
edit = {
|
|
border = "rounded",
|
|
start_insert = true,
|
|
},
|
|
}
|
|
},
|
|
build = "make",
|
|
dependencies = {
|
|
"stevearc/dressing.nvim",
|
|
"nvim-lua/plenary.nvim",
|
|
"MunifTanjim/nui.nvim",
|
|
"nvim-tree/nvim-web-devicons",
|
|
{
|
|
"HakonHarnes/img-clip.nvim",
|
|
event = "VeryLazy",
|
|
opts = {
|
|
default = {
|
|
embed_image_as_base64 = false,
|
|
prompt_for_file_name = false,
|
|
drag_and_drop = {
|
|
insert_mode = true,
|
|
},
|
|
},
|
|
},
|
|
},
|
|
{
|
|
"MeanderingProgrammer/render-markdown.nvim",
|
|
opts = {
|
|
file_types = { "markdown", "Avante" },
|
|
},
|
|
ft = { "markdown", "Avante" },
|
|
},
|
|
},
|
|
}
|