aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/home/.config/nvim/lua/plugins/init.lua
diff options
context:
space:
mode:
authorLibravatar sommerfeld <[email protected]>2026-04-17 10:53:14 +0100
committerLibravatar sommerfeld <[email protected]>2026-04-17 10:53:14 +0100
commit64dec769914d485a5b54b996f0650fe6662083dd (patch)
tree4248a57f5332daf52ef2c1dd7457b6b674ac7eed /home/.config/nvim/lua/plugins/init.lua
parentb2b9abba7c697a443e5da935c956d2fa4e4f5699 (diff)
downloaddotfiles-64dec769914d485a5b54b996f0650fe6662083dd.tar.gz
dotfiles-64dec769914d485a5b54b996f0650fe6662083dd.tar.bz2
dotfiles-64dec769914d485a5b54b996f0650fe6662083dd.zip
refactor: extract AI plugins to plugins/ai.lua
Move copilot.lua from completion.lua and codecompanion from plugins/init.lua into a dedicated ai.lua file. Both are AI-related, not completion.
Diffstat (limited to 'home/.config/nvim/lua/plugins/init.lua')
-rw-r--r--home/.config/nvim/lua/plugins/init.lua53
1 files changed, 0 insertions, 53 deletions
diff --git a/home/.config/nvim/lua/plugins/init.lua b/home/.config/nvim/lua/plugins/init.lua
index 9594015..846ec43 100644
--- a/home/.config/nvim/lua/plugins/init.lua
+++ b/home/.config/nvim/lua/plugins/init.lua
@@ -89,59 +89,6 @@ return {
},
},
{
- "olimorris/codecompanion.nvim",
- dependencies = {
- "nvim-lua/plenary.nvim",
- "ravitemer/mcphub.nvim",
- },
- keys = {
- {
- "<leader>aa",
- "<cmd>CodeCompanionActions<cr>",
- mode = { "n", "v" },
- noremap = true,
- silent = true,
- desc = "[A]I [A]ctions",
- },
- {
- "<leader>ta",
- "<cmd>CodeCompanionChat Toggle<cr>",
- mode = { "n", "v" },
- noremap = true,
- silent = true,
- desc = "[T]oggle [A]I chat",
- },
- {
- "<leader>ac",
- "<cmd>CodeCompanionChat Add<cr>",
- mode = "v",
- noremap = true,
- silent = true,
- desc = "[A]I [C]hat add",
- },
- },
- opts = {
- strategies = {
- chat = {
- adapter = "copilot",
- },
- inline = {
- adapter = "copilot",
- },
- },
- extensions = {
- mcphub = {
- callback = "mcphub.extensions.codecompanion",
- opts = {
- make_vars = true,
- make_slash_commands = true,
- show_result_in_chat = true,
- },
- },
- },
- },
- },
- {
"stevearc/oil.nvim",
opts = {},
lazy = false,