aboutsummaryrefslogtreecommitdiff
path: root/helix-core/src/surround.rs
diff options
context:
space:
mode:
authorMichael Davis2024-01-15 06:34:38 +0000
committerGitHub2024-01-15 06:34:38 +0000
commiteca3ccff76b9f45dd2b266215764fe7630dee884 (patch)
tree78572b21340458dab26dcf887782488d2d823e3c /helix-core/src/surround.rs
parent3011df4f35e43f9f7690b236c85ab54f210c8b3a (diff)
Select subtree within injections in :tree-sitter-subtree (#9309)
`:tree-sitter-subtree` could previously only print subtrees of nodes in the root injection layer. We can improve on that by finding the layer that contains the given byte range and printing the subtree within that layer. That gives more useful results when a selection is within an injection layer.
Diffstat (limited to 'helix-core/src/surround.rs')
0 files changed, 0 insertions, 0 deletions