diff options
Diffstat (limited to 'crates/completion/src/config.rs')
-rw-r--r-- | crates/completion/src/config.rs | 17 |
1 files changed, 0 insertions, 17 deletions
diff --git a/crates/completion/src/config.rs b/crates/completion/src/config.rs deleted file mode 100644 index d70ed6c1c..000000000 --- a/crates/completion/src/config.rs +++ /dev/null | |||
@@ -1,17 +0,0 @@ | |||
1 | //! Settings for tweaking completion. | ||
2 | //! | ||
3 | //! The fun thing here is `SnippetCap` -- this type can only be created in this | ||
4 | //! module, and we use to statically check that we only produce snippet | ||
5 | //! completions if we are allowed to. | ||
6 | |||
7 | use ide_db::helpers::{insert_use::InsertUseConfig, SnippetCap}; | ||
8 | |||
9 | #[derive(Clone, Debug, PartialEq, Eq)] | ||
10 | pub struct CompletionConfig { | ||
11 | pub enable_postfix_completions: bool, | ||
12 | pub enable_imports_on_the_fly: bool, | ||
13 | pub add_call_parenthesis: bool, | ||
14 | pub add_call_argument_snippets: bool, | ||
15 | pub snippet_cap: Option<SnippetCap>, | ||
16 | pub insert_use: InsertUseConfig, | ||
17 | } | ||