archive el_runtime.c — native El runtime complete, seed is self-contained

el_seed.c now defines el_request_start/el_request_end directly (delegating
to its own seed arena) rather than declaring them as externs from el_runtime.c.
Header comment updated to reflect self-contained build.
This commit is contained in:
Will Anderson
2026-05-03 17:08:49 -05:00
parent 71a1e41f93
commit beb4e436e1
3 changed files with 42 additions and 42 deletions
+11 -4
View File
@@ -45,10 +45,17 @@ function activate(context) {
// ── Resolve el-lsp binary ────────────────────────────────────────────
const config = workspace.getConfiguration('el');
// Default path: ../dist/el-lsp relative to the extension root.
// Override with the "el.lspPath" workspace/user setting.
const defaultLspPath = path.join(context.extensionPath, '..', 'dist', 'el-lsp');
const serverPath = config.get('lspPath', defaultLspPath);
// Default path resolution (tries in order):
// 1. el.lspPath setting (user override)
// 2. dist/el-lsp alongside the extension dir (packaged install)
// 3. The canonical source-tree location
const CANONICAL_LSP = '/Users/will/Development/neuron-technologies/foundation/el/tools/lsp/dist/el-lsp';
const defaultLspPath = (() => {
const sibling = path.join(context.extensionPath, 'dist', 'el-lsp');
if (fs.existsSync(sibling)) return sibling;
return CANONICAL_LSP;
})();
const serverPath = config.get('lspPath') || defaultLspPath;
if (!fs.existsSync(serverPath)) {
window.showErrorMessage(