add TODO notes on kvscode bugs I can't solve

This commit is contained in:
2021-10-22 15:59:47 -04:00
parent b7add8e0ca
commit 00759253d0
2 changed files with 5 additions and 0 deletions

View File

@@ -143,6 +143,8 @@
((Prefix innerMap)
(showShortcutPanel innerMap))
((Final command)
// TODO dispose() for some reason doesn't take effect until
// the awaitLet below finishes its work...
(shortcutPanel.dispose)
(if documentBeforeShortcut
(awaitLet [_ (Vscode.window.showTextDocument documentBeforeShortcut)]

View File

@@ -124,6 +124,9 @@
(set builtinConfigDir (joinPath context.extensionPath "config"))
(set activeConfigDir (joinPath (userHome) ".kiss-vscode" "activeConfig"))
(set lastConfigDir (joinPath (userHome) ".kiss-vscode" "lastActiveConfig"))
// TODO for some reason the custom ktxt2 editor is not available until this completes, even if it is
// invoked asynchronously:
(tryLoadConfig)))
// Manually define main so it will exist when test is not defined: