Replies: 2 comments 3 replies
-
The following seems to work in the playground for Python: Query:
Input:
Just change the node and capture names to what you need in markdown. |
Beta Was this translation helpful? Give feedback.
3 replies
-
I've replied in: neovim/neovim#25515 (comment) |
Beta Was this translation helpful? Give feedback.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
Hi! I'm trying to capture Markdown checkboxes and the minus sign in front of them with as one capture.
Here's my query:
However, only the first sibling,
list_marker_minus
gets selected by Treesitter, andtask_list_marker_unchecked
is not included.Here's a file that I'm using as an example:
Here's what the syntax tree looks like:
The documentation says that I can group sibling nodes by wrapping them in parentheses. What am I doing wrong?
I've read through the other discussions but I couldn't find an answer.
Beta Was this translation helpful? Give feedback.
All reactions