Revert "Refactor completions" (#42014)

Reverts zed-industries/zed#41939
This commit is contained in:
Andrew Farkas
2025-11-05 16:48:28 +00:00
committed by GitHub
parent 27fb1098fa
commit b8ba663c20
5 changed files with 150 additions and 146 deletions
-9
View File
@@ -252,17 +252,8 @@ enum MarkdownCacheKey {
#[derive(Copy, Clone, Debug, PartialEq, Eq)]
pub enum CompletionsMenuSource {
/// Show all completions (words, snippets, LSP)
Normal,
/// Show only snippets (not words or LSP)
///
/// Used after typing a non-word character
SnippetsOnly,
/// Tab stops within a snippet that have a predefined finite set of choices
SnippetChoices,
/// Show only words (not snippets or LSP)
///
/// Used when word completions are explicitly triggered
Words { ignore_threshold: bool },
}