Skip to content

Commit 9a77ef0

Browse files
committed
Add getTreeForUri to api; might drop later
1 parent d335dba commit 9a77ef0

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

src/extension.ts

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -256,6 +256,8 @@ export async function activate(context: vscode.ExtensionContext) {
256256
return getTreeForUri(document.uri);
257257
},
258258

259+
getTreeForUri,
260+
259261
getNodeAtLocation(location: vscode.Location) {
260262
return getTreeForUri(location.uri).rootNode.descendantForPosition({
261263
row: location.range.start.line,

0 commit comments

Comments
 (0)