Add codecompanion for interactive ai help

This commit is contained in:
salomaestro
2025-01-28 13:19:06 +01:00
parent baf14d1b8e
commit 1bb24a69fc
4 changed files with 93 additions and 13 deletions

View File

@@ -113,19 +113,14 @@ return {
},
{
{
"folke/persistence.nvim",
event = "BufReadPre", -- this will only start session saving when an actual file was opened
opts = {
-- add any custom options here
},
},
"folke/persistence.nvim",
event = "BufReadPre", -- this will only start session saving when an actual file was opened
},
{
"NvChad/nvcommunity",
{ import = "nvcommunity.git.diffview" },
{ import = "nvcommunity.git.lazygit" },
-- { import = "nvcommunity.git.lazygit" },
{ import = "nvcommunity.completion.copilot" },
{
"copilot.lua",
@@ -195,6 +190,27 @@ return {
lazy = false,
},
{
"echasnovski/mini.nvim",
version = "*",
config = function()
require("mini.diff").setup()
require("mini.pick").setup()
end,
},
{
"olimorris/codecompanion.nvim",
dependencies = {
"nvim-lua/plenary.nvim",
"nvim-treesitter/nvim-treesitter",
},
config = function()
require "configs.codecompanion"
end,
lazy = false,
},
-- Install a plugin
{
"max397574/better-escape.nvim",