diff options
author | Kirill Bulatov <[email protected]> | 2019-12-19 14:18:09 +0000 |
---|---|---|
committer | Kirill Bulatov <[email protected]> | 2019-12-19 14:18:09 +0000 |
commit | 4fb25ef43bd96da94467ffa4de8fbf0af82b28d1 (patch) | |
tree | bccdcbad14a78bf670f77f1f98208009ea80b8dd /crates/ra_lsp_server/src/main_loop | |
parent | 3969c7c85373554fcd80aee359cd0def14f7a528 (diff) |
Do not add any new configuration parameters
Diffstat (limited to 'crates/ra_lsp_server/src/main_loop')
-rw-r--r-- | crates/ra_lsp_server/src/main_loop/handlers.rs | 6 |
1 files changed, 1 insertions, 5 deletions
diff --git a/crates/ra_lsp_server/src/main_loop/handlers.rs b/crates/ra_lsp_server/src/main_loop/handlers.rs index 9069d1f1d..5b64b27cd 100644 --- a/crates/ra_lsp_server/src/main_loop/handlers.rs +++ b/crates/ra_lsp_server/src/main_loop/handlers.rs | |||
@@ -895,11 +895,7 @@ pub fn handle_inlay_hints( | |||
895 | let analysis = world.analysis(); | 895 | let analysis = world.analysis(); |
896 | let line_index = analysis.file_line_index(file_id)?; | 896 | let line_index = analysis.file_line_index(file_id)?; |
897 | Ok(analysis | 897 | Ok(analysis |
898 | .inlay_hints( | 898 | .inlay_hints(file_id, world.options.max_inlay_hint_length)? |
899 | file_id, | ||
900 | world.options.max_inlay_hint_length, | ||
901 | world.options.show_default_types_in_inlay_hints, | ||
902 | )? | ||
903 | .into_iter() | 899 | .into_iter() |
904 | .map(|api_type| InlayHint { | 900 | .map(|api_type| InlayHint { |
905 | label: api_type.label.to_string(), | 901 | label: api_type.label.to_string(), |