Remove original Idris version of newt.
This commit is contained in:
@@ -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"
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
@@ -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(
|
||||
|
||||
Reference in New Issue
Block a user