-
Notifications
You must be signed in to change notification settings - Fork 9
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
Add &| and 2>| as pipe operators #21
Conversation
Oops, looks like an old node version in a GH action? I tested with node v21.7.1 on my local machine. |
Node should be fine, you're free to upgrade - it's not a big deal. This package could be removed by adding single |
Looks fine ;) Also please include auto generated files from |
Add "moduleResolution": "nodenext" to tsconfig.json See comment ram02z#21 (comment)
That did the trick. I've neither upgraded node nor added I've also incorporated #22 (drop Then ran Thanks for being patient 😃. |
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.
lgtm. thanks for contributions, @piechologist !
Currently, both operators result in errors in the syntax tree.
This PR adds two convenience pipe operators (see the fish docs) discussed in #20:
I changed both
grammar.js
andgrammar.ts
to be able to build the parser locally. The added tests pass usingtree-sitter 0.22.2
.I added the operators to
highlights.scm
as well.Closes #20.