diff options
author | imtsuki <[email protected]> | 2020-01-14 17:02:01 +0000 |
---|---|---|
committer | imtsuki <[email protected]> | 2020-01-14 17:18:52 +0000 |
commit | c390e92fdd25ced46c589bfbff94e4b0bc4d9c38 (patch) | |
tree | bd33983bd3d77c1442f7814d595cbf0506f421da /crates/ra_lsp_server/src/main_loop | |
parent | d8d8c20077702b8537086d49914d02654a46ebc5 (diff) |
Add inlay parameter name hints for function calls
Signed-off-by: imtsuki <[email protected]>
Diffstat (limited to 'crates/ra_lsp_server/src/main_loop')
-rw-r--r-- | crates/ra_lsp_server/src/main_loop/handlers.rs | 1 |
1 files changed, 1 insertions, 0 deletions
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( | |||
952 | range: api_type.range.conv_with(&line_index), | 952 | range: api_type.range.conv_with(&line_index), |
953 | kind: match api_type.kind { | 953 | kind: match api_type.kind { |
954 | ra_ide::InlayKind::TypeHint => InlayKind::TypeHint, | 954 | ra_ide::InlayKind::TypeHint => InlayKind::TypeHint, |
955 | ra_ide::InlayKind::ParameterHint => InlayKind::ParameterHint, | ||
955 | }, | 956 | }, |
956 | }) | 957 | }) |
957 | .collect()) | 958 | .collect()) |