-
-
Notifications
You must be signed in to change notification settings - Fork 32
feat: scala support + tree-sitter 0.21.1 bump #237
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
base: main
Are you sure you want to change the base?
Conversation
ea6f045
to
2381881
Compare
Fixes #207 |
@kieran-ryan mind taking a look at this. |
2381881
to
b216fe5
Compare
b216fe5
to
75f4210
Compare
@@ -69,11 +74,19 @@ if (!fs.existsSync(treeSitterCli)) { | |||
let command | |||
if (process.env.CI) { | |||
console.log(`Compiling ${module}`) | |||
command = `node_modules/.bin/tree-sitter build-wasm ${module}` | |||
if (module.endsWith('tree-sitter-php')) { | |||
command = `node_modules/.bin/tree-sitter build --wasm ${module}/php` |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Why does php get an exception here?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
The new version of tree-sitter-php is multi grammar it seems. It's got option of php (php + html) and php_only (just php).
Hi @yzia2000 I've merged some stuff which does some interim bumps to some of the packages that you may be relying on. Can you take a look and merge/rebase as appropriate. |
ping @yzia2000 is this something you're able to fix up so we can get it merged and cut in the v2 release? |
Will have to wait until the week after. But yeah will look into it. |
🤔 What's changed?
Added scala support for step definitions and parameter type. Scala treesitter is most stable on 0.21.1 version of tree-sitter. Hence other tree-sitter variants ended up needing a bump too. C-sharp queries required minor fix.
⚡️ What's your motivation?
Treesitter support for scala.
🏷️ What kind of change is this?
♻️ Anything particular you want feedback on?
📋 Checklist:
This text was originally generated from a template, then edited by hand. You can modify the template here.