mirror of
https://github.com/rust-lang/rust-analyzer.git
synced 2025-09-28 21:05:02 +00:00
Make group imports configurable
This commit is contained in:
parent
750d3cb846
commit
96fc01a30b
14 changed files with 79 additions and 23 deletions
|
@ -156,7 +156,7 @@ pub fn resolve_completion_edits(
|
|||
.find(|mod_path| mod_path.to_string() == full_import_path)?;
|
||||
|
||||
ImportEdit { import_path, import_scope, import_for_trait_assoc_item }
|
||||
.to_text_edit(config.insert_use.merge)
|
||||
.to_text_edit(config.insert_use)
|
||||
.map(|edit| vec![edit])
|
||||
}
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue