Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Update generated files, remove duplicated code, add syntax highlighting #3

Open
wants to merge 16 commits into
base: main
Choose a base branch
from

Conversation

RenjiSann
Copy link

This PR

  • fixes old generated files by replacing them with those of the current tree-sitter version (0.20.7).
  • refactors some of the grammar.js to avoid code duplication, especially when allowing both simple and double-quoted strings as attribute values.
  • adds a highlights.scm to make syntax highlighting easier afterwards.

Dorian 'RenjiSann' Péron and others added 7 commits October 18, 2022 02:33
- Removed old build files
- feat(highlight): Added queries/highlighting.scm
- change(grammar): Added in_quote() fct for avoiding duplicated code,
  added aliases for version, encoding and standalone for better
  highlighting.
misc(format): Formatted grammar.js
change(README)
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