Skip to content

fix(opencode): point F# tree-sitter queries to upstream ionide repo#30729

Open
Thorium wants to merge 1 commit into
anomalyco:devfrom
Thorium:fix-fsharp-tree-sitter-queries
Open

fix(opencode): point F# tree-sitter queries to upstream ionide repo#30729
Thorium wants to merge 1 commit into
anomalyco:devfrom
Thorium:fix-fsharp-tree-sitter-queries

Conversation

@Thorium
Copy link
Copy Markdown

@Thorium Thorium commented Jun 4, 2026

Issue for this PR

Closes #28965

Type of change

  • Bug fix
  • New feature
  • Refactor / code improvement
  • Documentation

What does this PR do?

The F# entry in packages/opencode/parsers-config.ts pointed its highlights query at the nvim-treesitter repo, which has archived its F# queries. This repoints the F# queries to the upstream ionide/tree-sitter-fsharp repo (which already provides the .wasm used here) and adds the matching locals query from the same source, so the query files stay in sync with the grammar.

How did you verify your code works?

The new URLs resolve to the highlights.scm and locals.scm files in the ionide/tree-sitter-fsharp main branch, matching the 0.3.0 grammar release the wasm entry already references. The entry keeps the same structure as the other languages in the config.

Screenshots / recordings

Not a UI change.

Checklist

  • I have tested my changes locally
  • I have not included unrelated changes in this PR

@github-actions github-actions Bot added needs:compliance This means the issue will auto-close after 2 hours. needs:issue labels Jun 4, 2026
@github-actions
Copy link
Copy Markdown
Contributor

github-actions Bot commented Jun 4, 2026

Thanks for your contribution!

This PR doesn't have a linked issue. All PRs must reference an existing issue.

Please:

  1. Open an issue describing the bug/feature (if one doesn't exist)
  2. Add Fixes #<number> or Closes #<number> to this PR description

See CONTRIBUTING.md for details.

@github-actions github-actions Bot removed needs:issue needs:compliance This means the issue will auto-close after 2 hours. labels Jun 4, 2026
@github-actions
Copy link
Copy Markdown
Contributor

github-actions Bot commented Jun 4, 2026

Thanks for updating your PR! It now meets our contributing guidelines. 👍

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.

[FEATURE]: Add F# wasm for syntax highlight

1 participant