Code at the speed of thought – Zed is a high-performance, multiplayer code editor from the creators of Atom and Tree-sitter.
vim: Fix :s command ignoring case sensitivity settings (#42457)
Hans04e92fb2d211
diff --git a/crates/vim/src/normal/search.rs b/crates/vim/src/normal/search.rsindex 6c4294a474d..36a529da5da 100644--- a/crates/vim/src/normal/search.rs+++ b/crates/vim/src/normal/search.rs@@ -506,7 +506,12 @@ impl Vim {search_bar.is_contains_uppercase(&search),);} else {- options.set(SearchOptions::CASE_SENSITIVE, false)+ // Fallback: no explicit i/I flags and smartcase disabled;+ // use global editor.search.case_sensitive.+ options.set(+ SearchOptions::CASE_SENSITIVE,+ EditorSettings::get_global(cx).search.case_sensitive,+ )}if !replacement.flag_g {