-
Notifications
You must be signed in to change notification settings - Fork 59
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
Expose delimiters for uri_autolink
#109
Comments
If you're using
so you can just match them literally. |
Hmm, is there a way to match literal characters in treesitter queries? I tried: (uri_autolink
[
"<"
">"
] @conceal
(#set! conceal "")) But it's giving me errors. |
they're not children of |
I tried to use |
Yes, you need to capture the anonymous nodes themselves. You might need two individual queries, one for Of course, you could also make a PR adding |
I think implementing a |
There's also |
I want to make a query to conceal the delimiters for
uri_autolink
(the angle brackets in<https://www.google.com>
), but the delimiters are not exposed in the tree.For example for emphasis markers, you have this tree:
Can we have something similar for
uri_autolink
?The text was updated successfully, but these errors were encountered: