-
Notifications
You must be signed in to change notification settings - Fork 29
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
Helix support #27
Helix support #27
Conversation
Add injections for comment strings for helix editor. This allows to highlight TODO and FIXME in comment strings when using editors supporting this query (e.g. helix)
oh, cool! I've been wondering about how to do that. Thanks! |
I'm kinda wondering if we should just PR our tree-sitter-nu to helix so it's the default? I wonder if it's ready? Oops, I just saw that your reference link was trying to do that. Sorry. |
Yeah, already done. I assume |
I just used the instructions with the latest commit-hash and it worked fine with 1 exception. I had to delete the two left over queries that we don't have. The ones from LHKipps versions. Once I did that, and copied the grammars to the right place, things worked correctly. |
I tried to explain this part in the warning at the end of installation/helix.md. I hoped it would be clear, but maybe I need to rewrite it to be more clear? |
Ya, I read that but what didn't occur to me was to delete those 2 scm files. I figured they'd just work with the other ones, even though you said they were incompatible. This a me issue, not an issue with your PR. I would've needed something like, "Delete your existing SCM files and copy the new ones each time you do this.". :) |
Helix support
Add installation instruction for helix editor and mention it in
README.md
.Add
injections.scm
query to supportTODO
andFIXME
highlights in comments (see PR discussion):