Fix to allow the individual key/value pairs in hash/key pairs to be targeted; the node tree was too flat to allow for this. The updated test shows the effect of this change well.
Bit of background: I've been looking at adding Perl support to Cursorless to allow easier voice coding in Perl (I'm struggling with RSI), and for some scope selections we're hitting particular limits in what this tree sitter can handle, so I'll be filing either issues or PR's for these. Hopefully we can cooperate to improve this tree sitter enough so that we can make Cursorless work well with Perl as well.
Fix to allow the individual key/value pairs in hash/key pairs to be targeted; the node tree was too flat to allow for this. The updated test shows the effect of this change well.
Bit of background: I've been looking at adding Perl support to Cursorless to allow easier voice coding in Perl (I'm struggling with RSI), and for some scope selections we're hitting particular limits in what this tree sitter can handle, so I'll be filing either issues or PR's for these. Hopefully we can cooperate to improve this tree sitter enough so that we can make Cursorless work well with Perl as well.