Address Issues from Github
- Updated naming of config - Define struct in ra_ide and use remote derive in rust-analyzer/config - Make inlayConfig type more flexible to support more future types - Remove constructor only used in tests
This commit is contained in:
@@ -997,7 +997,7 @@ pub fn handle_inlay_hints(
|
||||
let analysis = world.analysis();
|
||||
let line_index = analysis.file_line_index(file_id)?;
|
||||
Ok(analysis
|
||||
.inlay_hints(file_id, world.options.max_inlay_hint_length)?
|
||||
.inlay_hints(file_id, &world.options.inlay_hint_opts)?
|
||||
.into_iter()
|
||||
.map(|api_type| InlayHint {
|
||||
label: api_type.label.to_string(),
|
||||
|
||||
Reference in New Issue
Block a user