@@ -350,11 +350,11 @@ impl Client {
350 .expect("language server not yet initialized!")
350 .expect("language server not yet initialized!")
353− pub async fn initialize(&mut self) -> Result<()> {
353+ pub async fn initialize(&mut self, adapter_id: String) -> Result<()> {
354 let args = InitializeArguments {
354 let args = InitializeArguments {
355 client_id: "hx".to_owned(),
355 client_id: "hx".to_owned(),
356 client_name: "helix".to_owned(),
356 client_name: "helix".to_owned(),
357− adapter_id: "go".to_owned(),
357+ adapter_id,
358 locale: "en-us".to_owned(),
358 locale: "en-us".to_owned(),
359 lines_start_at_one: true,
359 lines_start_at_one: true,
360 columns_start_at_one: true,
360 columns_start_at_one: true,