Code at the speed of thought – Zed is a high-performance, multiplayer code editor from the creators of Atom and Tree-sitter.
editor: Do not show inline completion if snippet is active (#20300)
Thorsten Ball71aeb6a63634
diff --git a/crates/editor/src/editor.rs b/crates/editor/src/editor.rsindex adc4c96f986..2323cf8751b 100644--- a/crates/editor/src/editor.rs+++ b/crates/editor/src/editor.rs@@ -2498,6 +2498,10 @@ impl Editor {buffer_position: language::Anchor,cx: &AppContext,) -> bool {+ if !self.snippet_stack.is_empty() {+ return false;+ }+if let Some(provider) = self.inline_completion_provider() {if let Some(show_inline_completions) = self.show_inline_completions_override {show_inline_completions