From 3db64a400c78bbd2708e67ddc07df1001fff3f29 Mon Sep 17 00:00:00 2001 From: Aleksey Kladov Date: Wed, 17 Feb 2021 17:53:31 +0300 Subject: rename completion -> ide_completion We don't have completion-related PRs in flight, so lets do it --- crates/completion/src/config.rs | 17 ----------------- 1 file changed, 17 deletions(-) delete mode 100644 crates/completion/src/config.rs (limited to 'crates/completion/src/config.rs') 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 @@ -//! Settings for tweaking completion. -//! -//! The fun thing here is `SnippetCap` -- this type can only be created in this -//! module, and we use to statically check that we only produce snippet -//! completions if we are allowed to. - -use ide_db::helpers::{insert_use::InsertUseConfig, SnippetCap}; - -#[derive(Clone, Debug, PartialEq, Eq)] -pub struct CompletionConfig { - pub enable_postfix_completions: bool, - pub enable_imports_on_the_fly: bool, - pub add_call_parenthesis: bool, - pub add_call_argument_snippets: bool, - pub snippet_cap: Option, - pub insert_use: InsertUseConfig, -} -- cgit v1.2.3