Skip to main content

default_servers

Function default_servers 

Source
pub fn default_servers() -> Vec<LspServerConfig>
Expand description

Default server table: rust-analyzer for .rs files when on PATH.

Returns an empty vec when rust-analyzer is not installed, so callers can unconditionally feed the result to LspManager::new and gracefully get “no servers configured” behavior.