From aa7b707f8a63cd750b371261d28593485fedcdd8 Mon Sep 17 00:00:00 2001 From: Polo123456789 Date: Fri, 8 May 2026 21:25:44 -0600 Subject: [PATCH] fix(sidebar): fix logic and missleading message #26469 --- .../opencode/src/cli/cmd/tui/feature-plugins/sidebar/lsp.tsx | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/packages/opencode/src/cli/cmd/tui/feature-plugins/sidebar/lsp.tsx b/packages/opencode/src/cli/cmd/tui/feature-plugins/sidebar/lsp.tsx index 5127ca0e4b00..ce10d7d54a8b 100644 --- a/packages/opencode/src/cli/cmd/tui/feature-plugins/sidebar/lsp.tsx +++ b/packages/opencode/src/cli/cmd/tui/feature-plugins/sidebar/lsp.tsx @@ -8,7 +8,7 @@ function View(props: { api: TuiPluginApi }) { const [open, setOpen] = createSignal(true) const theme = () => props.api.theme.current const list = createMemo(() => props.api.state.lsp()) - const off = createMemo(() => props.api.state.config.lsp === false) + const off = createMemo(() => !props.api.state.config.lsp) return ( @@ -23,7 +23,7 @@ function View(props: { api: TuiPluginApi }) { - {off() ? "LSPs have been disabled in settings" : "LSPs will activate as files are read"} + {off() ? "LSPs are disabled" : "LSPs will activate as files are read"}