Skip to main content

should_inject_lsp_context

Function should_inject_lsp_context 

Source
pub fn should_inject_lsp_context(servers: &[LspServerInfo]) -> bool
Expand description

Check if LSP context should be injected into system prompt

Returns true if any server is connected and working properly. This is used by the prompt system to conditionally inject LSP-related guidance.