From cc2ebb96a6e0b6b0ddcc29a4838fd0fdb49e214f Mon Sep 17 00:00:00 2001 From: Bennet Bo Fenner Date: Tue, 4 Feb 2025 14:02:45 +0100 Subject: [PATCH] Revert "inline completion: Respect `disabled_globs` when manually requesting completions (#24121)" (#24189) This reverts commit eb820ab800ea2a0023667b5c0eb91daa7c9ab084. The previous PR broke manual completions. Turns out there is more confusing behavior then i realized, will follow up with another PR soon. Closes #ISSUE Release Notes: - N/A --- crates/editor/src/editor.rs | 4 ---- 1 file changed, 4 deletions(-) diff --git a/crates/editor/src/editor.rs b/crates/editor/src/editor.rs index aa01d80024..a73ba371ed 100644 --- a/crates/editor/src/editor.rs +++ b/crates/editor/src/editor.rs @@ -4694,10 +4694,6 @@ impl Editor { window: &mut Window, cx: &mut Context, ) { - if !self.inline_completions_enabled(cx) { - return; - } - if !self.has_active_inline_completion() { self.refresh_inline_completion(false, true, window, cx); return;