diff options
Diffstat (limited to 'crates/ra_lsp_server/src/main_loop')
-rw-r--r-- | crates/ra_lsp_server/src/main_loop/handlers.rs | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/crates/ra_lsp_server/src/main_loop/handlers.rs b/crates/ra_lsp_server/src/main_loop/handlers.rs index 20f9aee13..7347a78c7 100644 --- a/crates/ra_lsp_server/src/main_loop/handlers.rs +++ b/crates/ra_lsp_server/src/main_loop/handlers.rs | |||
@@ -870,7 +870,7 @@ pub fn handle_inlay_hints( | |||
870 | let analysis = world.analysis(); | 870 | let analysis = world.analysis(); |
871 | let line_index = analysis.file_line_index(file_id)?; | 871 | let line_index = analysis.file_line_index(file_id)?; |
872 | Ok(analysis | 872 | Ok(analysis |
873 | .inlay_hints(file_id)? | 873 | .inlay_hints(file_id, world.options.max_inlay_hint_length)? |
874 | .into_iter() | 874 | .into_iter() |
875 | .map(|api_type| InlayHint { | 875 | .map(|api_type| InlayHint { |
876 | label: api_type.label.to_string(), | 876 | label: api_type.label.to_string(), |