mirror of
https://github.com/Heretek-AI/opencode.git
synced 2026-11-10 17:15:48 -10:00
tweak: Make LSP message more accurate when LSPs disabled (#5814)
This commit is contained in:
1 parent
dacbbe3184
commit
1bc1ea8b47
1 file changed
+5
-1
@@ -154,7 +154,11 @@ export function Sidebar(props: { sessionID: string }) {
|
||||
</box>
|
||||
<Show when={sync.data.lsp.length <= 2 || expanded.lsp}>
|
||||
<Show when={sync.data.lsp.length === 0}>
|
||||
<text fg={theme.textMuted}>LSPs will activate as files are read</text>
|
||||
<text fg={theme.textMuted}>
|
||||
{sync.data.config.lsp === false
|
||||
? "LSPs have been disabled in settings"
|
||||
: "LSPs will activate as files are read"}
|
||||
</text>
|
||||
</Show>
|
||||
<For each={sync.data.lsp}>
|
||||
{(item) => (
|
||||
|
||||
Reference in new issue
Block a user