diff options
Diffstat (limited to 'crates/ra_lsp_server/src/main_loop')
-rw-r--r-- | crates/ra_lsp_server/src/main_loop/handlers.rs | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/crates/ra_lsp_server/src/main_loop/handlers.rs b/crates/ra_lsp_server/src/main_loop/handlers.rs index ace3da020..9478ebfb8 100644 --- a/crates/ra_lsp_server/src/main_loop/handlers.rs +++ b/crates/ra_lsp_server/src/main_loop/handlers.rs | |||
@@ -581,7 +581,7 @@ pub fn handle_code_action( | |||
581 | let edit = source_edit.try_conv_with(&world)?; | 581 | let edit = source_edit.try_conv_with(&world)?; |
582 | let cmd = Command { | 582 | let cmd = Command { |
583 | title, | 583 | title, |
584 | command: "ra-lsp.applySourceChange".to_string(), | 584 | command: "rust-analyzer.applySourceChange".to_string(), |
585 | arguments: Some(vec![to_value(edit).unwrap()]), | 585 | arguments: Some(vec![to_value(edit).unwrap()]), |
586 | }; | 586 | }; |
587 | res.push(cmd); | 587 | res.push(cmd); |
@@ -623,7 +623,7 @@ pub fn handle_code_lens( | |||
623 | range, | 623 | range, |
624 | command: Some(Command { | 624 | command: Some(Command { |
625 | title: title.into(), | 625 | title: title.into(), |
626 | command: "ra-lsp.run-single".into(), | 626 | command: "rust-analyzer.runSingle".into(), |
627 | arguments: Some(vec![to_value(r).unwrap()]), | 627 | arguments: Some(vec![to_value(r).unwrap()]), |
628 | }), | 628 | }), |
629 | data: None, | 629 | data: None, |