Closed dsully closed 1 year ago
Ping
Hi, thanks for the PR. I'll try to give it a review this weekend.
Great, thank you!
Hi again, sorry I won't be able to merge this PR, but I was able to add support for URIs in https://github.com/stsewd/tree-sitter-comment/pull/21 without the need of more C code.
Other differences:
uri
instead of url
for the name of the token.Thanks again for opening this PR, sorry I wasn't able to re-use it.
No problem - the feature is really is, no matter how we get there. I must have typo'd url
instead of uri
.
Will you be making a PR on nvim-treesitter to pull this in?
I assume comment/highlights.scm
will need to be updated there as well?
Thanks!
Will you be making a PR on nvim-treesitter to pull this in?
Yeah, doing that now :)
This fixes #15, using the URL parsing code from your
tree-sitter-rst
repository: https://github.com/stsewd/tree-sitter-rst/blob/master/src/tree_sitter_rst/parser.c#L1312In Neovim, I can now add:
In a
after/queries/comment/highlights.scm
file. This should be integrated intonvim-treesitter
itself after merging.