Skip to content

Commit 2367200

Browse files
committed
Always show Download clojure-lsp in manage menu
The option was previously gated on active_roots.length === 0, making it unreachable when a Clojure project is open. Now always visible — the atomic download and lock coordination make it safe in all states. Part of #3211
1 parent 55c7975 commit 2367200

1 file changed

Lines changed: 4 additions & 6 deletions

File tree

src/lsp/commands/vscode-commands.ts

Lines changed: 4 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -227,14 +227,12 @@ const manageHandler = async (
227227
{
228228
label: 'Open trace level settings',
229229
value: '::trace-settings',
230-
}
231-
);
232-
if (active_roots.length === 0) {
233-
choices.push({
230+
},
231+
{
234232
label: 'Download clojure-lsp',
235233
value: '::download',
236-
});
237-
}
234+
}
235+
);
238236

239237
const picker = vscode.window.createQuickPick();
240238
picker.items = choices;

0 commit comments

Comments
 (0)