You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
docs(readme): document file filtering with glob patterns
- add exclude_files option to configuration examples
- describe file filtering support in feature lists
- provide usage examples and glob pattern details
- update documentation to explain use cases and configuration
keymap="<leader>gc", -- Keymap for generating commit message (default: "<leader>gc")
@@ -238,10 +242,28 @@ The specific model to use with the adapter. If not specified, defaults to the mo
238
242
A list of languages that can be used for generating commit messages. When specified, the extension will prompt you to select a language before generating the commit message. If not provided or empty, commit messages will be generated in English by default.
A list of file patterns to exclude from git diff analysis when generating commit messages. Supports glob patterns using `*` and `?` wildcards. This is useful for excluding generated files, minified files, or large files that don't need AI analysis.
252
+
253
+
Examples:
254
+
255
+
```lua
256
+
exclude_files= {
257
+
"*.pb.go", -- Protocol buffer generated files
258
+
"*.min.js", -- Minified JavaScript files
259
+
"package-lock.json", -- NPM lock file
260
+
"yarn.lock", -- Yarn lock file
261
+
"*.generated.ts", -- Generated TypeScript files
262
+
"dist/*", -- Distribution directory
263
+
"build/*" -- Build directory
264
+
}
265
+
```
266
+
245
267
#### `buffer.enabled` (boolean, default: `true`)
246
268
Controls whether gitcommit buffer keymap integration is enabled.
0 commit comments