|
https://github.com/glts/vim-textobj-comment support inner comment and outer comment. For this project, many textobjects.scm only have comment.outer. Is it possible to add support for comment.inner? |
Answered by
sharpchen
Jul 23, 2026
Replies: 1 comment 8 replies
|
|
8 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Do you mean a conventional (type)name for comment content node on parser implementation?
That won't bring much benefit, because you have to manage query in dedicated file for each language anyway.
The problem is the parser doesn't generate a inner node for comment, not how we write queries.