Skip to content

armgit / zed

Public Imported from GitHub
0

Code at the speed of thought – Zed is a high-performance, multiplayer code editor from the creators of Atom and Tree-sitter.

Revert "inline completion: Respect `disabled_globs` when manually requesting completions (#24121)" (#24189)

Bennet Bo Fennercc2ebb96a6e0
diff --git a/crates/editor/src/editor.rs b/crates/editor/src/editor.rs
index aa01d800243..a73ba371ed9 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<Self>,
) {
- if !self.inline_completions_enabled(cx) {
- return;
- }
-
if !self.has_active_inline_completion() {
self.refresh_inline_completion(false, true, window, cx);
return;