From ed1f52af1109cc11c31a99dfc80e13c37c99a9aa Mon Sep 17 00:00:00 2001 From: Chris Date: Fri, 20 Jun 2025 22:16:56 +0100 Subject: [PATCH] Comment out vectorcode --- lua/plugins/aider.lua | 6 +++--- lua/plugins/codecompanion.lua | 34 +++++++++------------------------- lua/plugins/vectorcode.lua | 22 ++++++++++++---------- 3 files changed, 24 insertions(+), 38 deletions(-) diff --git a/lua/plugins/aider.lua b/lua/plugins/aider.lua index 3d45eb4..0e80b21 100644 --- a/lua/plugins/aider.lua +++ b/lua/plugins/aider.lua @@ -36,12 +36,12 @@ return { }, }, config = function() - require('nvim_aider').setup({ + require('nvim_aider').setup { aider_cmd = 'aider', args = { '--config=$HOME/.config/aider/aider.yaml', '--no-auto-commits', - '--env-file=$(pwd)/.aider.env' + '--env-file=$(pwd)/.aider.env', }, auto_reload = true, win = { @@ -49,6 +49,6 @@ return { style = 'nvim_aider', position = 'bottom', }, - }) + } end, } diff --git a/lua/plugins/codecompanion.lua b/lua/plugins/codecompanion.lua index 0a209b3..bb35e6f 100644 --- a/lua/plugins/codecompanion.lua +++ b/lua/plugins/codecompanion.lua @@ -67,13 +67,13 @@ return { chat = { adapter = 'gpt', slash_commands = { - codebase = require('vectorcode.integrations').codecompanion.chat.make_slash_command(), + -- codebase = require('vectorcode.integrations').codecompanion.chat.make_slash_command(), }, tools = { - vectorcode = { - description = 'Run VectorCode to retrieve the project context.', - callback = require('vectorcode.integrations').codecompanion.chat.make_tool(), - }, + -- vectorcode = { + -- description = 'Run VectorCode to retrieve the project context.', + -- callback = require('vectorcode.integrations').codecompanion.chat.make_tool(), + -- }, ['cmd_runner'] = { opts = { requires_approval = false, @@ -191,22 +191,12 @@ When given a task: strategy = 'chat', description = 'A personal Games Master Assistant.', opts = { - mapping = 'cd', - modes = { 'n' }, - short_name = 'gm', - auto_submit = false, - stop_context_insertion = false, user_prompt = false, - is_default = true, - adapter = { - temperature = 1, - }, }, prompts = { { role = 'system', - content = function(context) - return [[ + content = [[ You are a personal Games Master Assistant. You are currently plugged in to the Neovim text editor on a user's machine. Your core tasks include: @@ -239,17 +229,11 @@ When given a task: 1. Consider the existing world and characters. Use tools to gather information that may be relevant. 2. Provide exactly one complete reply per conversation turn. 3. If necessary, execute multiple tools in a single turn. -]] - end, +]], }, { role = 'user', - content = function(context) - return '' - end, - opts = { - contains_code = false, - }, + content = '', }, }, }, @@ -363,7 +347,7 @@ We'll repeat this cycle until there are no errors. Ensure no deviations from the dependencies = { 'nvim-lua/plenary.nvim', 'nvim-treesitter/nvim-treesitter', - 'Davidyz/VectorCode', + -- 'Davidyz/VectorCode', 'ravitemer/mcphub.nvim', }, } diff --git a/lua/plugins/vectorcode.lua b/lua/plugins/vectorcode.lua index ee1c194..a50c06a 100644 --- a/lua/plugins/vectorcode.lua +++ b/lua/plugins/vectorcode.lua @@ -1,11 +1,13 @@ require('helpers').edit_cf('pv', '/lua/plugins/vectorcode.lua') -return { - 'Davidyz/VectorCode', - version = '*', -- optional, depending on whether you're on nightly or release - dependencies = { 'nvim-lua/plenary.nvim' }, - build = 'pipx upgrade vectorcode', - cmd = 'VectorCode', -- if you're lazy-loading VectorCode - opts = { - async_backend = 'lsp', - }, -} + +return {} +-- return { +-- 'Davidyz/VectorCode', +-- version = '*', -- optional, depending on whether you're on nightly or release +-- dependencies = { 'nvim-lua/plenary.nvim' }, +-- build = 'pipx upgrade vectorcode', +-- cmd = 'VectorCode', -- if you're lazy-loading VectorCode +-- opts = { +-- async_backend = 'lsp', +-- }, +-- }