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
Though, (comment) captures <!-- and -->, it seems to work pretty well as is. I reckon it would be good to have raw_text for comments as well, so that the comment tag delimiters are not captured.
EDIT: Adding raw_text to comment is most certainly a good idea if it is desired to minimize plugin breakage. ultimate-autopair doesn't recognize (and, thus, doesn't act upon) <!-- and --> because they are captured in the injection.
The text was updated successfully, but these errors were encountered:
tree-sitter-comment is really nice when it comes to highlighting notes in comments, but there is no injection regarding it.
It would be nice to include something like the following in the injections file:
((comment) @injection.content (#set! injection.language "comment"))
Though,
(comment)
captures<!--
and-->
, it seems to work pretty well as is. I reckon it would be good to haveraw_text
for comments as well, so that the comment tag delimiters are not captured.EDIT: Adding
raw_text
tocomment
is most certainly a good idea if it is desired to minimize plugin breakage. ultimate-autopair doesn't recognize (and, thus, doesn't act upon)<!--
and-->
because they are captured in the injection.The text was updated successfully, but these errors were encountered: