Use LanguageServerName in more places (#18167)
This pushes the new LanguageServerName type to more places. As both languages and language servers were identified by Arc<str>, it was sometimes hard to tell which was intended. Release Notes: - N/A
This commit is contained in:
parent
743feb98bc
commit
4f227fd3bf
20 changed files with 150 additions and 85 deletions
|
@ -236,7 +236,7 @@ impl LogStore {
|
|||
));
|
||||
this.add_language_server(
|
||||
LanguageServerKind::Global {
|
||||
name: LanguageServerName(Arc::from("copilot")),
|
||||
name: LanguageServerName::new_static("copilot"),
|
||||
},
|
||||
server.server_id(),
|
||||
Some(server.clone()),
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue