aboutsummaryrefslogtreecommitdiff
path: root/crates/ra_lsp_server/src/main_loop
diff options
context:
space:
mode:
authorSeivan Heidari <[email protected]>2019-11-21 00:11:41 +0000
committerSeivan Heidari <[email protected]>2019-11-21 00:11:41 +0000
commit358a1bcd708c622836723e5201b6de77cc9ff327 (patch)
treeaeff9c96a6059fa2b02e7c87ec88753bc7993d8d /crates/ra_lsp_server/src/main_loop
parent1e2d090ab8a9bda18f148b894b7948eb05b976e6 (diff)
parent612a72fc4ea4376920f2a7da7b3c334227c1716c (diff)
Merge branch 'master' of https://github.com/rust-analyzer/rust-analyzer into feature/themes
Diffstat (limited to 'crates/ra_lsp_server/src/main_loop')
-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(),