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 c808056 commit 2b0c922Copy full SHA for 2b0c922
lib_src/misc/blocks.ts
@@ -4,6 +4,11 @@
4
import { forLines } from "./scopes"
5
import { TextEditor, Selection } from "atom"
6
7
+interface LineInfo {
8
+ scope: readonly string[]
9
+ line: string
10
+}
11
+
12
export function getLine(editor: TextEditor, l) {
13
return {
14
scope: editor.scopeDescriptorForBufferPosition([l, 0]).scopes,
0 commit comments