Skip to content

Commit 2b0c922

Browse files
committed
LineInfo interface
1 parent c808056 commit 2b0c922

File tree

1 file changed

+5
-0
lines changed

1 file changed

+5
-0
lines changed

lib_src/misc/blocks.ts

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -4,6 +4,11 @@
44
import { forLines } from "./scopes"
55
import { TextEditor, Selection } from "atom"
66

7+
interface LineInfo {
8+
scope: readonly string[]
9+
line: string
10+
}
11+
712
export function getLine(editor: TextEditor, l) {
813
return {
914
scope: editor.scopeDescriptorForBufferPosition([l, 0]).scopes,

0 commit comments

Comments
 (0)