[vscode] remove unnecessary binding
This commit is contained in:
@@ -101,8 +101,7 @@
|
|||||||
(defvar &mut :vscode.WebviewPanel shortcutPanel null)
|
(defvar &mut :vscode.WebviewPanel shortcutPanel null)
|
||||||
(defun :Void showShortcutPanel [&opt :Map<String,ShortcutKey> prefixMap]
|
(defun :Void showShortcutPanel [&opt :Map<String,ShortcutKey> prefixMap]
|
||||||
// Preserve the selected text and focused document before opening the webview:
|
// Preserve the selected text and focused document before opening the webview:
|
||||||
(let [inputText (selectedText)
|
(let [inputText (selectedText)]
|
||||||
document .document activeTextEditor]
|
|
||||||
// When called without a prefixMap, if a shortcut panel is still open, close it and start over:
|
// When called without a prefixMap, if a shortcut panel is still open, close it and start over:
|
||||||
(unless prefixMap
|
(unless prefixMap
|
||||||
(when shortcutPanel
|
(when shortcutPanel
|
||||||
|
Reference in New Issue
Block a user