1
0
mirror of https://github.com/dcarrillo/dotfiles.git synced 2026-04-18 10:04:06 +00:00

[neovim] Remove avante

This commit is contained in:
2026-04-15 15:27:42 +02:00
parent 4b36d349bf
commit b5b1bf478c
7 changed files with 5 additions and 43 deletions

View File

@@ -198,17 +198,7 @@ require("lazy").setup({
},
{ "mzlogin/vim-markdown-toc" },
-- Copilot
{
"yetone/avante.nvim",
event = "VeryLazy",
lazy = false,
version = false,
build = "make",
dependencies = {
"stevearc/dressing.nvim",
},
},
-- AI
{
"zbirenbaum/copilot.lua",
cmd = "Copilot",

View File

@@ -1,23 +0,0 @@
require("avante").setup({
provider = "copilot",
providers = {
copilot = {
-- model = "gpt-4.1",
-- model = "claude-3.7-sonnet",
-- model = "claude-sonnet-4",
model = "claude-sonnet-4.5",
-- model = "claude-opus-4.6",
timeout = 120000,
},
},
-- web_search_engine = {
-- provider = "tavily",
-- },
selection = {
enabled = false,
-- hint_display = "delayed",
},
behaviour = {
enable_claude_text_editor_tool_mode = true,
},
})

View File

@@ -1,10 +1,9 @@
require("blink.cmp").setup({
-- disable completion for certain filetypes
enabled = function()
return not vim.tbl_contains(
{ "sagarename", "DressingInput", "AvanteInput", "AvantePromptInput" },
vim.bo.filetype
) and vim.bo.buftype ~= "prompt" and vim.b.completion ~= false
return not vim.tbl_contains({ "sagarename", "DressingInput" }, vim.bo.filetype)
and vim.bo.buftype ~= "prompt"
and vim.b.completion ~= false
end,
appearance = {

View File

@@ -3,7 +3,6 @@ require("illuminate").configure({
filetypes_denylist = {
"TelescopePrompt",
"Trouble",
"avante",
"lspsagafinder",
"mason",
"snacks_picker_list",

View File

@@ -1,7 +1,6 @@
require("plugins.snacks")
require("plugins.blink")
require("plugins.copilot")
require("plugins.avante")
require("plugins.telescope")
require("plugins.mini-comment")
require("plugins.mini-pairs")

View File

@@ -17,8 +17,6 @@ require("neovim-project").setup({
filetype_autocmd_timeout = 0,
session_manager_opts = {
autosave_ignore_filetypes = {
"AvanteInput",
"AvantePromptInput",
"snacks_picker_list",
"trouble",
"grug-far",

View File

@@ -1,5 +1,5 @@
require("render-markdown").setup({
file_types = { "markdown", "Avante" },
file_types = { "markdown" },
html = { enabled = false },
latex = { enabled = false },
})