MCPcopy Create free account
hub / github.com/ChrisFeldmeier/OpenCodeRust / with_lsp_registry

Method with_lsp_registry

crates/opencode-tool/src/tool.rs:361–364  ·  view source on GitHub ↗
(mut self, lsp_registry: Arc<LspClientRegistry>)

Source from the content-addressed store, hash-verified

359
360 #[cfg(feature = "lsp")]
361 pub fn with_lsp_registry(mut self, lsp_registry: Arc<LspClientRegistry>) -> Self {
362 self.lsp_registry = Some(lsp_registry);
363 self
364 }
365
366 pub fn with_ask<F, Fut>(mut self, callback: F) -> Self
367 where

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected