diff options
author | Michael Davis | 2024-01-15 06:34:38 +0000 |
---|---|---|
committer | GitHub | 2024-01-15 06:34:38 +0000 |
commit | eca3ccff76b9f45dd2b266215764fe7630dee884 (patch) | |
tree | 78572b21340458dab26dcf887782488d2d823e3c /runtime/queries/protobuf/indents.scm | |
parent | 3011df4f35e43f9f7690b236c85ab54f210c8b3a (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 'runtime/queries/protobuf/indents.scm')
0 files changed, 0 insertions, 0 deletions