From 817ac8f39424eda0ad9a83c63ed96722e0a69d52 Mon Sep 17 00:00:00 2001 From: Rafael dos Santos Silva Date: Mon, 18 Jul 2022 19:53:51 -0300 Subject: [PATCH] FIX: Plugins weren't loaded when running via bundled stree --- src/extension.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/extension.ts b/src/extension.ts index 33e9941..11e45c1 100644 --- a/src/extension.ts +++ b/src/extension.ts @@ -95,7 +95,7 @@ export async function activate(context: ExtensionContext) { try { await promiseExec("bundle show syntax_tree", { cwd }); - run = { command: "bundle", args: ["exec", "stree", "lsp"], options: { cwd } }; + run = { command: "bundle", args: ["exec", "stree"].concat(args), options: { cwd } }; where = 'bundled'; } catch { // No-op (just keep using the global stree)