Minor comment change

This commit is contained in:
Keith Simmons 2022-06-30 17:18:28 -07:00
parent f495185a4e
commit 37b75132b7

View file

@ -2125,7 +2125,7 @@ impl Project {
this.update(&mut cx, |this, cx| { this.update(&mut cx, |this, cx| {
// If the language server for this key doesn't match the server id, don't store the // If the language server for this key doesn't match the server id, don't store the
// server. // server. Which will cause it to be dropped, killing the process
if this if this
.language_server_ids .language_server_ids
.get(&key) .get(&key)
@ -2135,6 +2135,8 @@ impl Project {
return None; return None;
} }
// Update language_servers collection with Running variant of LanguageServerState
// indicating that the server is up and running and ready
this.language_servers.insert( this.language_servers.insert(
server_id, server_id,
LanguageServerState::Running { LanguageServerState::Running {