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 ad58423 commit 5fa1709Copy full SHA for 5fa1709
lib_src/misc/cells.ts
@@ -98,8 +98,8 @@ function jlMoveNext(editor: TextEditor) {
98
])
99
}
100
101
-export function movePrev(editor: TextEditor) {
102
- if (editor == null) {
+export function movePrev(editor: TextEditor | undefined | null) {
+ if (!editor) {
103
editor = atom.workspace.getActiveTextEditor()
104
105
if (editor.getGrammar().scopeName.indexOf("source.weave") > -1) {
0 commit comments