diff --git a/.config/nvim/lua/plugins/avante.lua b/.config/nvim/lua/plugins/avante.lua index 91b3442..f15dc8e 100644 --- a/.config/nvim/lua/plugins/avante.lua +++ b/.config/nvim/lua/plugins/avante.lua @@ -3,6 +3,7 @@ require("avante").setup({ providers = { copilot = { model = "claude-3.7-sonnet", + -- model = "gpt-4.1", timeout = 120000, }, }, @@ -25,16 +26,16 @@ require("avante").setup({ end, -- using the MCP server - disabled_tools = { - "list_files", - "search_files", - "read_file", - "create_file", - "rename_file", - "delete_file", - "create_dir", - "rename_dir", - "delete_dir", - "bash", - }, + -- disabled_tools = { + -- "list_files", + -- "search_files", + -- "read_file", + -- "create_file", + -- "rename_file", + -- "delete_file", + -- "create_dir", + -- "rename_dir", + -- "delete_dir", + -- "bash", + -- }, }) diff --git a/.config/nvim/lua/plugins/blink.lua b/.config/nvim/lua/plugins/blink.lua index 19d18e4..6f82262 100644 --- a/.config/nvim/lua/plugins/blink.lua +++ b/.config/nvim/lua/plugins/blink.lua @@ -1,9 +1,10 @@ require("blink.cmp").setup({ -- disable completion for certain filetypes enabled = function() - return not vim.tbl_contains({ "sagarename", "DressingInput", "AvanteInput" }, vim.bo.filetype) - and vim.bo.buftype ~= "prompt" - and vim.b.completion ~= false + return not vim.tbl_contains( + { "sagarename", "DressingInput", "AvanteInput", "AvantePromptInput" }, + vim.bo.filetype + ) and vim.bo.buftype ~= "prompt" and vim.b.completion ~= false end, appearance = { diff --git a/.config/nvim/lua/plugins/copilot.lua b/.config/nvim/lua/plugins/copilot.lua index d33a201..c909caf 100644 --- a/.config/nvim/lua/plugins/copilot.lua +++ b/.config/nvim/lua/plugins/copilot.lua @@ -1,7 +1,7 @@ require("copilot").setup({ suggestion = { enabled = false }, panel = { enabled = false }, - copilot_model = "claude-3.7-sonnet-thought", + copilot_model = "claude-4", filetypes = { dockerfile = true, go = true, @@ -37,7 +37,7 @@ require("CopilotChat").setup({ show_user_selection = false, clear_chat_on_new_prompt = false, prompts = prompts, - model = "claude-3.7-sonnet-thought", + model = "gpt-4.1", }) vim.api.nvim_create_autocmd("BufEnter", { diff --git a/.config/nvim/lua/plugins/neovim-project.lua b/.config/nvim/lua/plugins/neovim-project.lua index d4368f4..8979ae8 100644 --- a/.config/nvim/lua/plugins/neovim-project.lua +++ b/.config/nvim/lua/plugins/neovim-project.lua @@ -17,6 +17,8 @@ require("neovim-project").setup({ filetype_autocmd_timeout = 0, session_manager_opts = { autosave_ignore_filetypes = { + "AvanteInput", + "AvantePromptInput", "snacks_picker_list", "trouble", "grug-far", diff --git a/.config/nvim/lua/plugins/snacks.lua b/.config/nvim/lua/plugins/snacks.lua index e7533b0..871ca92 100644 --- a/.config/nvim/lua/plugins/snacks.lua +++ b/.config/nvim/lua/plugins/snacks.lua @@ -21,7 +21,7 @@ require("snacks").setup({ sections = { { section = "header" }, - { icon = "", desc = "Projects", action = ":Telescope neovim-project", key = "p", padding = 1 }, + { icon = "", desc = "Projects", action = ":NeovimProjectDiscover history", key = "p", padding = 1 }, { icon = "", key = "n", desc = "New File", action = ":ene | startinsert" }, {