Skip to content

feat(rg): add additional default file types - #1709

Merged
chaliy merged 1 commit into
mainfrom
2026-05-22-rg-batch-30
May 23, 2026
Merged

chaliy merged 1 commit into
mainfrom
2026-05-22-rg-batch-30

Conversation

@chaliy

@chaliy chaliy commented May 23, 2026

Copy link
Copy Markdown
Contributor

What

Add another batch of real ripgrep default file types to Bashkit rg: asciidoc, cabal, crystal, elm, fsharp, groovy, lisp, ocaml, org, rescript, solidity, svelte, and vala.

Why

These are present in real rg --type-list but were missing from Bashkit rg, causing -t TYPE to reject or miss common file categories.

How

Extend the default type database with real-rg glob definitions and add real-rg differential cases for representative files.

Risk

  • Low
  • Affects rg type filtering only.

Checklist

  • Tests added or updated
  • Backward compatibility considered

@cloudflare-workers-and-pages

Copy link
Copy Markdown

Deploying with  Cloudflare Workers  Cloudflare Workers

The latest updates on your project. Learn more about integrating Git with Workers.

Status Name Latest Commit Preview URL Updated (UTC)
✅ Deployment successful!
View logs
bashkit 1279f46 Commit Preview URL May 23 2026, 05:32 AM

@chaliy
chaliy merged commit 87cdb83 into main May 23, 2026
34 checks passed
@chaliy
chaliy deleted the 2026-05-22-rg-batch-30 branch May 23, 2026 05:45
chaliy added a commit that referenced this pull request May 30, 2026
## What
Add another batch of real ripgrep default file types to Bashkit rg:
asciidoc, cabal, crystal, elm, fsharp, groovy, lisp, ocaml, org,
rescript, solidity, svelte, and vala.

## Why
These are present in real `rg --type-list` but were missing from Bashkit
rg, causing `-t TYPE` to reject or miss common file categories.

## How
Extend the default type database with real-rg glob definitions and add
real-rg differential cases for representative files.

## Risk
- Low
- Affects rg type filtering only.

## Checklist
- [x] Tests added or updated
- [x] Backward compatibility considered
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant