We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 39e9d92 commit 480d2ffCopy full SHA for 480d2ff
1 file changed
crates/mcpls-core/src/lib.rs
@@ -147,7 +147,9 @@ pub async fn serve(config: ServerConfig) -> Result<(), Error> {
147
applicable_configs.len()
148
);
149
150
- if !applicable_configs.is_empty() {
+ if applicable_configs.is_empty() {
151
+ warn!("No applicable LSP servers configured — starting in protocol-only mode");
152
+ } else {
153
// Spawn all servers with graceful degradation
154
let result = LspServer::spawn_batch(&applicable_configs).await;
155
@@ -179,8 +181,6 @@ pub async fn serve(config: ServerConfig) -> Result<(), Error> {
179
181
}
180
182
183
info!("Proceeding with {} LSP server(s)", server_count);
- } else {
- warn!("No applicable LSP servers configured — starting in protocol-only mode");
184
185
186
let translator = Arc::new(Mutex::new(translator));
0 commit comments