You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
This is a limitation with the parser, right now block and line comments are parsed as the same node, and there is no distinction exposed between // and comment content
Describe the bug
When using the @comment.inner text object, nothing gets selected.
@comment.outer works fine.
To Reproduce
Expected behavior
Line in beginning:
// Change
<cursor>
this commentLine after
cic
://
<cursor>
Output of
:checkhealth nvim-treesitter
Output of
nvim --version
Additional context
@comment.outer works fine and like expected:
Line in beginning:
// Change
<cursor>
this commentLine after
cac
:<cursor>
The text was updated successfully, but these errors were encountered: