Skip to content

Commit a042bdc

Browse files
georgeh0claude
andauthored
feat: add missing file extensions to DEFAULT_INCLUDED_PATTERNS (#119)
Add 19 file extensions from the supported languages table in README.md that were missing from the default include patterns: Ruby, Swift, Kotlin, Scala, R, HTML, CSS/SCSS, JSON, XML, YAML, TOML, Solidity, Pascal/Delphi, DTD, and Fortran. Co-authored-by: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
1 parent f2ecfb5 commit a042bdc

1 file changed

Lines changed: 23 additions & 0 deletions

File tree

src/cocoindex_code/settings.py

Lines changed: 23 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -45,6 +45,29 @@
4545
"**/*.rst", # reStructuredText
4646
"**/*.php", # PHP
4747
"**/*.lua", # Lua
48+
"**/*.rb", # Ruby
49+
"**/*.swift", # Swift
50+
"**/*.kt", # Kotlin
51+
"**/*.kts", # Kotlin script
52+
"**/*.scala", # Scala
53+
"**/*.r", # R
54+
"**/*.html", # HTML
55+
"**/*.htm", # HTML
56+
"**/*.css", # CSS
57+
"**/*.scss", # SCSS
58+
"**/*.json", # JSON
59+
"**/*.xml", # XML
60+
"**/*.yaml", # YAML
61+
"**/*.yml", # YAML
62+
"**/*.toml", # TOML
63+
"**/*.sol", # Solidity
64+
"**/*.pas", # Pascal
65+
"**/*.dpr", # Pascal/Delphi
66+
"**/*.dtd", # DTD
67+
"**/*.f", # Fortran
68+
"**/*.f90", # Fortran
69+
"**/*.f95", # Fortran
70+
"**/*.f03", # Fortran
4871
]
4972

5073
DEFAULT_EXCLUDED_PATTERNS: list[str] = [

0 commit comments

Comments
 (0)