yorickpeterse / nvim-tree-pairs

NeoVim plugin for jumping to the other end of the current Tree-sitter node
Mozilla Public License 2.0
75 stars 0 forks source link

Handle pairs in comments #2

Closed yorickpeterse closed 3 weeks ago

yorickpeterse commented 3 weeks ago

When you're in a comment node, jumping doesn't work well because any brackets are just opaque text. We probably need to fall back to using matchit/regular % inside a comment node.