We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 2b0c922 commit 49a474fCopy full SHA for 49a474f
lib_src/misc/blocks.ts
@@ -11,7 +11,7 @@ interface LineInfo {
11
12
export function getLine(editor: TextEditor, l) {
13
return {
14
- scope: editor.scopeDescriptorForBufferPosition([l, 0]).scopes,
+ scope: editor.scopeDescriptorForBufferPosition([l, 0]).getScopesArray(),
15
line: editor.getTextInBufferRange([
16
[l, 0],
17
[l, Infinity]
0 commit comments