diff options
Diffstat (limited to 'internal/appconfig/app_sections_test.go')
| -rw-r--r-- | internal/appconfig/app_sections_test.go | 50 |
1 files changed, 28 insertions, 22 deletions
diff --git a/internal/appconfig/app_sections_test.go b/internal/appconfig/app_sections_test.go index e26d3f3..bcd1cbe 100644 --- a/internal/appconfig/app_sections_test.go +++ b/internal/appconfig/app_sections_test.go @@ -169,28 +169,34 @@ func testPromptConfig() PromptConfig { func testFeatureConfig() FeatureConfig { return FeatureConfig{ - StatsWindowMinutes: 15, - IgnoreGitignore: sectionBoolPtr(true), - IgnoreExtraPatterns: []string{"vendor/**", "tmp/**"}, - IgnoreLSPNotify: sectionBoolPtr(false), - TmuxEditPopupWidth: "80%", - TmuxEditPopupHeight: "75%", - TmuxEditDefaultAgent: "codex", - TmuxEditAgents: []TmuxEditAgentCfg{{ - Name: "codex", - DisplayName: "Codex", - DetectPattern: "(?i)codex", - SectionPattern: "section", - PromptPattern: "prompt", - StripPatterns: []string{"x", "y"}, - ClearFirst: sectionBoolPtr(true), - ClearKeys: "C-u", - NewlineKeys: "S-Enter", - SubmitKeys: "Enter", - }}, - MCPPromptsDir: ".hexai/prompts", - MCPSlashCommandSync: true, - MCPSlashCommandDir: ".hexai/slash", + StatsConfig: StatsConfig{StatsWindowMinutes: 15}, + IgnoreConfig: IgnoreConfig{ + IgnoreGitignore: sectionBoolPtr(true), + IgnoreExtraPatterns: []string{"vendor/**", "tmp/**"}, + IgnoreLSPNotify: sectionBoolPtr(false), + }, + TmuxEditConfig: TmuxEditConfig{ + TmuxEditPopupWidth: "80%", + TmuxEditPopupHeight: "75%", + TmuxEditDefaultAgent: "codex", + TmuxEditAgents: []TmuxEditAgentCfg{{ + Name: "codex", + DisplayName: "Codex", + DetectPattern: "(?i)codex", + SectionPattern: "section", + PromptPattern: "prompt", + StripPatterns: []string{"x", "y"}, + ClearFirst: sectionBoolPtr(true), + ClearKeys: "C-u", + NewlineKeys: "S-Enter", + SubmitKeys: "Enter", + }}, + }, + MCPConfig: MCPConfig{ + MCPPromptsDir: ".hexai/prompts", + MCPSlashCommandSync: true, + MCPSlashCommandDir: ".hexai/slash", + }, } } |
