mirror of
https://github.com/sst/opencode.git
synced 2025-12-23 10:11:41 +00:00
tweak: Make LSP message more accurate when LSPs disabled (#5814)
This commit is contained in:
parent
dacbbe3184
commit
1bc1ea8b47
1 changed files with 5 additions and 1 deletions
|
|
@ -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) => (
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue