Remove original Idris version of newt.

This commit is contained in:
2025-09-29 11:59:13 -07:00
parent a53c5b4fba
commit f3a5e9012c
21 changed files with 7 additions and 5460 deletions

View File

@@ -61,8 +61,8 @@
"properties": {
"newt.path": {
"type": "string",
"default": "build/exec/newt",
"description": "Path to the newt executable"
"default": "node bootstrap/newt.js",
"description": "Command to run newt"
}
}
}

View File

@@ -32,7 +32,6 @@ export function activate(context: vscode.ExtensionContext) {
const lastChange = changes[changes.length - 1];
const text = lastChange.text;
console.log("lastChange", lastChange)
// Check if the last change is a potential shortcut trigger
if (!text || !( " ')\\".includes(text) || text.startsWith('\n'))) return;
@@ -70,8 +69,7 @@ export function activate(context: vscode.ExtensionContext) {
? workspaceFolder.uri.fsPath
: path.dirname(fileName);
const config = vscode.workspace.getConfiguration("newt");
// FIXME wrong newt now.
const cmd = config.get<string>("path", "build/exec/newt");
const cmd = config.get<string>("path", "node bootstrap/newt.js");
const command = `${cmd} --top ${fileName}`;
let st = +new Date();
exec(