mirror of
https://github.com/rust-lang/rust-analyzer.git
synced 2025-09-29 05:15:04 +00:00
Add eager resolve capability
This commit is contained in:
parent
2a7be4afb0
commit
d9bd1f171d
8 changed files with 43 additions and 13 deletions
|
@ -47,7 +47,7 @@ impl<'a> FunctionRender<'a> {
|
|||
.set_deprecated(self.ctx.is_deprecated(self.func))
|
||||
.detail(self.detail())
|
||||
.add_call_parens(self.ctx.completion, self.name, params)
|
||||
.add_import(import_to_add)
|
||||
.add_import(import_to_add, self.ctx.completion.config.should_resolve_immediately())
|
||||
.build()
|
||||
}
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue