diff options
Diffstat (limited to 'crates/ra_lsp_server/src')
-rw-r--r-- | crates/ra_lsp_server/src/main_loop/handlers.rs | 1 | ||||
-rw-r--r-- | crates/ra_lsp_server/src/req.rs | 1 |
2 files changed, 2 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()) |
diff --git a/crates/ra_lsp_server/src/req.rs b/crates/ra_lsp_server/src/req.rs index 8098ff31d..dc327f53d 100644 --- a/crates/ra_lsp_server/src/req.rs +++ b/crates/ra_lsp_server/src/req.rs | |||
@@ -197,6 +197,7 @@ pub struct InlayHintsParams { | |||
197 | #[derive(Debug, PartialEq, Eq, Deserialize, Serialize)] | 197 | #[derive(Debug, PartialEq, Eq, Deserialize, Serialize)] |
198 | pub enum InlayKind { | 198 | pub enum InlayKind { |
199 | TypeHint, | 199 | TypeHint, |
200 | ParameterHint, | ||
200 | } | 201 | } |
201 | 202 | ||
202 | #[derive(Debug, Deserialize, Serialize)] | 203 | #[derive(Debug, Deserialize, Serialize)] |