Files
tree-sitter-shellspec/tree-sitter.json
Ismo Vuorinen ccb9121b89 fix: resolve documentation inconsistencies and add ExampleGroup variants
Documentation Fixes:
- README.md: Update test count from 59 to 63 (badge, features, test command)
- README.md: Fix lint script references to actual npm scripts
- CONTRIBUTING.md: Correct format script reference to npm run format:check
- package.json: Remove non-existent yamllint script, split lint:markdown into check/fix variants

Grammar Enhancements:
- Add fExampleGroup and xExampleGroup to Context block variants
- Regenerate parser with new grammar (63/63 tests passing, 100% success rate)

Syntax Highlighting:
- Add fExampleGroup and xExampleGroup to focused/skipped block highlights
- Remove non-matching Data modifier tokens (:raw, :expand, #|)
- Add "End" keyword as block terminator

Memory File Corrections:
- Remove incorrect merge_group trigger references
- Remove pr-lint.yml workflow references (deleted in previous optimization)
- Update test counts with timestamps (59→63, added 2025-12-11)
- Update conflict count (13→5, optimized)

Code Style:
- Auto-format renovate.json and tree-sitter.json with prettier
2026-01-04 15:33:00 +02:00

42 lines
787 B
JSON

{
"grammars": [
{
"name": "shellspec",
"camelcase": "Shellspec",
"scope": "source.shellspec",
"path": ".",
"file-types": [
"shellspec"
],
"highlights": [
"queries/highlights.scm"
],
"locals": [
"queries/locals.scm"
],
"injection-regex": "shellspec"
}
],
"metadata": {
"version": "0.1.0",
"license": "MIT",
"description": "ShellSpec grammar for tree-sitter (extends bash)",
"authors": [
{
"name": "Ismo Vuorinen"
}
],
"links": {
"repository": "https://github.com/ivuorinen/tree-sitter-shellspec"
}
},
"bindings": {
"c": true,
"go": true,
"node": true,
"python": true,
"rust": true,
"swift": true
}
}