]> git.lizzy.rs Git - rust.git/blobdiff - crates/completion/src/config.rs
Share import_assets and related entities
[rust.git] / crates / completion / src / config.rs
index b4439b7d143638dbd4e8c12c3e9aaec2ea312c64..58fc700f33d5c00ce75567fc317b2b1285645b5f 100644 (file)
@@ -4,7 +4,7 @@
 //! module, and we use to statically check that we only produce snippet
 //! completions if we are allowed to.
 
-use ide_db::helpers::{insert_use::MergeBehavior, SnippetCap};
+use ide_db::helpers::{insert_use::InsertUseConfig, SnippetCap};
 
 #[derive(Clone, Debug, PartialEq, Eq)]
 pub struct CompletionConfig {
@@ -13,5 +13,5 @@ pub struct CompletionConfig {
     pub add_call_parenthesis: bool,
     pub add_call_argument_snippets: bool,
     pub snippet_cap: Option<SnippetCap>,
-    pub merge: Option<MergeBehavior>,
+    pub insert_use: InsertUseConfig,
 }