update to new version

This commit is contained in:
2025-12-14 12:10:53 -08:00
parent cdedc4ced2
commit 332c7f6832
3 changed files with 39 additions and 5 deletions

View File

@@ -131,7 +131,7 @@ return {
},
-- }}}
},
strategies = {
interactions = {
chat = {
adapter = "copilot",
-- adapter = "openrouter",
@@ -182,11 +182,21 @@ return {
end,
completion_provider = "cmp",
},
fold_reasoning = true,
show_reasoning = true,
},
inline = {
adapter = "copilot",
-- adapter = "openrouter",
},
cmd = {
adapter = "copilot",
},
background = {
adapter = {
name = "copilot",
},
},
},
display = {
action_palette = {
@@ -232,7 +242,6 @@ return {
-- Options for inline diff provider
inline = {
layout = "buffer", -- float|buffer - Where to display the diff
diff_signs = {
signs = {
text = "", -- Sign text for normal changes
@@ -307,6 +316,31 @@ return {
},
},
},
rules = {
default = {
description = "Collection of common files for all projects",
files = {
".clinerules",
".cursorrules",
".goosehints",
".rules",
".windsurfrules",
".github/copilot-instructions.md",
"AGENT.md",
"AGENTS.md",
{ path = "CLAUDE.md", parser = "claude" },
{ path = "CLAUDE.local.md", parser = "claude" },
{ path = "~/.claude/CLAUDE.md", parser = "claude" },
},
is_preset = true,
},
opts = {
chat = {
enabled = true,
default_rules = "default", -- The rule groups to load
},
},
},
},
init = function()
require("utils.codecompanion.fidget-spinner"):init()