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

fix bugs with type declarations #10

Merged
merged 1 commit into from
Jun 23, 2024
Merged

fix bugs with type declarations #10

merged 1 commit into from
Jun 23, 2024

Conversation

4teapo
Copy link
Contributor

@4teapo 4teapo commented Jun 20, 2024

Fixes intersection types and empty table types not working properly.

Before, the following examples would not highlight properly:

type A = B & C
type A = B & C

-- (Everything between line 1 and 5 lose highlighting too.)

--[[]]
type A = {} | {}

-- (Everything between line 1 and 5 lose highlighting too.)

--[[]]

@amaanq amaanq merged commit fbadc96 into tree-sitter-grammars:master Jun 23, 2024
4 checks passed
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.

2 participants