From c390e92fdd25ced46c589bfbff94e4b0bc4d9c38 Mon Sep 17 00:00:00 2001 From: imtsuki Date: Wed, 15 Jan 2020 01:02:01 +0800 Subject: Add inlay parameter name hints for function calls Signed-off-by: imtsuki --- crates/ra_lsp_server/src/main_loop/handlers.rs | 1 + 1 file changed, 1 insertion(+) (limited to 'crates/ra_lsp_server/src/main_loop') diff --git a/crates/ra_lsp_server/src/main_loop/handlers.rs b/crates/ra_lsp_server/src/main_loop/handlers.rs index a592f0a12..a9a8538b7 100644 --- a/crates/ra_lsp_server/src/main_loop/handlers.rs +++ b/crates/ra_lsp_server/src/main_loop/handlers.rs @@ -952,6 +952,7 @@ pub fn handle_inlay_hints( range: api_type.range.conv_with(&line_index), kind: match api_type.kind { ra_ide::InlayKind::TypeHint => InlayKind::TypeHint, + ra_ide::InlayKind::ParameterHint => InlayKind::ParameterHint, }, }) .collect()) -- cgit v1.2.3