Skip to content

Commit 3d1755a

Browse files
committed
fix(gitcommit): increase default select count to 100
- change default value of gitcommit_select_count from 50 to 100 in slash command registration
1 parent 5f95e4f commit 3d1755a

File tree

1 file changed

+1
-1
lines changed
  • lua/codecompanion/_extensions/gitcommit

1 file changed

+1
-1
lines changed

lua/codecompanion/_extensions/gitcommit/init.lua

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -135,7 +135,7 @@ return {
135135
-- Add to CodeCompanion slash commands if requested
136136
if opts.add_slash_command then
137137
local slash_commands = require("codecompanion.config").strategies.chat.slash_commands
138-
local gitcommit_select_count = (opts.gitcommit_select_count or 50)
138+
local gitcommit_select_count = (opts.gitcommit_select_count or 100)
139139
slash_commands["gitcommit"] = {
140140
description = "Select a commit and insert its full content (message + diff)",
141141
callback = function(chat)

0 commit comments

Comments
 (0)