refactor(tui): remove placeholder LSP panel (#39955)
Co-authored-by: Kit Langton <kit.langton@gmail.com>
This commit is contained in:
parent
8846336e11
commit
9eb9c1db7d
2 changed files with 0 additions and 23 deletions
|
|
@ -1,21 +0,0 @@
|
||||||
import { Plugin, usePlugin } from "@opencode-ai/plugin/tui"
|
|
||||||
|
|
||||||
function View() {
|
|
||||||
const context = usePlugin()
|
|
||||||
const theme = context.theme
|
|
||||||
return (
|
|
||||||
<box>
|
|
||||||
<text fg={theme.text.default}>
|
|
||||||
<b>LSP</b>
|
|
||||||
</text>
|
|
||||||
<text fg={theme.text.subdued}>LSP status unavailable</text>
|
|
||||||
</box>
|
|
||||||
)
|
|
||||||
}
|
|
||||||
|
|
||||||
export default Plugin.define({
|
|
||||||
id: "opencode.sidebar-lsp",
|
|
||||||
setup(context) {
|
|
||||||
context.ui.slot("sidebar.content", () => <View />)
|
|
||||||
},
|
|
||||||
})
|
|
||||||
|
|
@ -2,7 +2,6 @@ import HomeFooter from "../feature-plugins/home/footer"
|
||||||
import PromptFooter from "../feature-plugins/prompt/footer"
|
import PromptFooter from "../feature-plugins/prompt/footer"
|
||||||
import SidebarContext from "../feature-plugins/sidebar/context"
|
import SidebarContext from "../feature-plugins/sidebar/context"
|
||||||
import SidebarFooter from "../feature-plugins/sidebar/footer"
|
import SidebarFooter from "../feature-plugins/sidebar/footer"
|
||||||
import SidebarLsp from "../feature-plugins/sidebar/lsp"
|
|
||||||
import SidebarMcp from "../feature-plugins/sidebar/mcp"
|
import SidebarMcp from "../feature-plugins/sidebar/mcp"
|
||||||
import DiffViewer from "../feature-plugins/system/diff-viewer"
|
import DiffViewer from "../feature-plugins/system/diff-viewer"
|
||||||
import Notifications from "../feature-plugins/system/notifications"
|
import Notifications from "../feature-plugins/system/notifications"
|
||||||
|
|
@ -14,7 +13,6 @@ export const builtins = [
|
||||||
PromptFooter,
|
PromptFooter,
|
||||||
SidebarContext,
|
SidebarContext,
|
||||||
SidebarMcp,
|
SidebarMcp,
|
||||||
SidebarLsp,
|
|
||||||
SidebarFooter,
|
SidebarFooter,
|
||||||
Notifications,
|
Notifications,
|
||||||
Plugins,
|
Plugins,
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue