Skip to content

Commit 49a474f

Browse files
committed
getScopesArray() instead of .scopes
1 parent 2b0c922 commit 49a474f

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

lib_src/misc/blocks.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -11,7 +11,7 @@ interface LineInfo {
1111

1212
export function getLine(editor: TextEditor, l) {
1313
return {
14-
scope: editor.scopeDescriptorForBufferPosition([l, 0]).scopes,
14+
scope: editor.scopeDescriptorForBufferPosition([l, 0]).getScopesArray(),
1515
line: editor.getTextInBufferRange([
1616
[l, 0],
1717
[l, Infinity]

0 commit comments

Comments
 (0)