Skip to content

feat(rg): add more language file types - #1708

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

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

Conversation

@chaliy

@chaliy chaliy commented May 23, 2026

Copy link
Copy Markdown
Contributor

What

Add more real ripgrep default file types to Bashkit rg: clojure, elixir, erlang, julia, nim, nix, r, tf, vim, and zig.

Why

Bashkit rg rejected these common real-rg types as unrecognized, so -t TYPE diverged from ripgrep.

How

Extend the default type database using patterns from rg --type-list, and add real-rg differential cases for each type. Also keep coverage for cwd-anchored glob matching.

Risk

  • Low
  • Affects only rg file-type filtering and one additional differential coverage case.

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 567c71c Commit Preview URL May 23 2026, 04:35 AM

@chaliy
chaliy merged commit 7f3403d into main May 23, 2026
34 checks passed
@chaliy
chaliy deleted the 2026-05-22-rg-batch-29 branch May 23, 2026 05:03
chaliy added a commit that referenced this pull request May 30, 2026
## What
Add more real ripgrep default file types to Bashkit rg: clojure, elixir,
erlang, julia, nim, nix, r, tf, vim, and zig.

## Why
Bashkit rg rejected these common real-rg types as unrecognized, so `-t
TYPE` diverged from ripgrep.

## How
Extend the default type database using patterns from `rg --type-list`,
and add real-rg differential cases for each type. Also keep coverage for
cwd-anchored glob matching.

## Risk
- Low
- Affects only rg file-type filtering and one additional differential
coverage case.

## 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