From 092bc674a5664dd09ee5a5c9e2ce36672431116b Mon Sep 17 00:00:00 2001 From: Polo123456789 <57022222+Polo123456789@users.noreply.github.com> Date: Sat, 9 May 2026 10:31:46 -0600 Subject: [PATCH] fix(sidebar): fix logic and missleading message #26469 (#26470) --- .../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 5127ca0e4b..ce10d7d54a 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"}