aboutsummaryrefslogtreecommitdiff
path: root/crates/ra_lsp_server/src/main_loop/handlers.rs
diff options
context:
space:
mode:
Diffstat (limited to 'crates/ra_lsp_server/src/main_loop/handlers.rs')
-rw-r--r--crates/ra_lsp_server/src/main_loop/handlers.rs2
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 0461bf385..e552f2106 100644
--- a/crates/ra_lsp_server/src/main_loop/handlers.rs
+++ b/crates/ra_lsp_server/src/main_loop/handlers.rs
@@ -888,7 +888,7 @@ pub fn handle_inlay_hints(
888 let analysis = world.analysis(); 888 let analysis = world.analysis();
889 let line_index = analysis.file_line_index(file_id)?; 889 let line_index = analysis.file_line_index(file_id)?;
890 Ok(analysis 890 Ok(analysis
891 .inlay_hints(file_id)? 891 .inlay_hints(file_id, world.options.max_inlay_hint_length)?
892 .into_iter() 892 .into_iter()
893 .map(|api_type| InlayHint { 893 .map(|api_type| InlayHint {
894 label: api_type.label.to_string(), 894 label: api_type.label.to_string(),