Skip to content

Commit

Permalink
Fix gotoGrammar wrong document
Browse files Browse the repository at this point in the history
  • Loading branch information
RedCMD committed Oct 25, 2024
1 parent 36b164a commit 7b7c84b
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/Providers/TreeDataProvider.ts
Original file line number Diff line number Diff line change
Expand Up @@ -967,7 +967,7 @@ async function gotoGrammar(element: element) {
new vscode.Position(0, 0),
[
new vscode.Location(
document.uri,
uri,
new vscode.Range(0, 0, document.lineCount, 0),
)
],
Expand Down

0 comments on commit 7b7c84b

Please sign in to comment.