Skip to content

Conversation

@thialfi17
Copy link

Problem

The command modifier :tab isn't currently supported and means that commands such as :tab split are not highlighted correctly.

Solution

Add :tab to the supported statements as a modifier.

@clason
Copy link
Collaborator

clason commented Dec 14, 2025

#47 fixes the test failures, but refactored how keywords are handled -- you'll now have to edit both rules/keywords.js and src/keywords.h manually.

(I would also appreciate it if you could check whether any of the ignored files in the workflow now parse with this change.)

@clason
Copy link
Collaborator

clason commented Dec 14, 2025

Sorry, you need to update to tree-sitter-cli v0.26.3 (or change the parser.c header manually).

@thialfi17
Copy link
Author

Thank you for the pointers, hopefully all good now.

@clason clason merged commit d12980e into tree-sitter-grammars:master Dec 14, 2025
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