Use US English spelling of "behavior" and "customize" (#15117)

This PR fixes some instances that weren't using US English spellings of
"behavior" and "customize".

Release Notes:

- N/A
This commit is contained in:
Marshall Bowers
2024-07-24 16:36:01 -04:00
committed by GitHub
parent 9c9a0bd24f
commit 0297a42735
14 changed files with 35 additions and 35 deletions
@@ -35,7 +35,7 @@ impl SharedState {
pub fn assert_matches(&self) {
if self.neovim != self.editor || self.neovim_mode != self.editor_mode {
panic!(
indoc! {"Test failed (zed does not match nvim behaviour)
indoc! {"Test failed (zed does not match nvim behavior)
# initial state:
{}
# keystrokes:
@@ -67,7 +67,7 @@ impl SharedState {
let message = if self.neovim != marked_text {
"Test is incorrect (currently expected != neovim_state)"
} else {
"Editor does not match nvim behaviour"
"Editor does not match nvim behavior"
};
panic!(
indoc! {"{}
@@ -110,7 +110,7 @@ impl SharedClipboard {
let message = if expected == self.neovim {
"Test is incorrect (currently expected != neovim_state)"
} else {
"Editor does not match nvim behaviour"
"Editor does not match nvim behavior"
};
panic!(
+1 -1
View File
@@ -392,7 +392,7 @@ impl Vim {
}
// When handling an action, you must create visual marks if you will switch to normal
// mode without the default selection behaviour.
// mode without the default selection behavior.
fn store_visual_marks(&mut self, cx: &mut WindowContext) {
let mode = self.state().mode;
if mode.is_visual() {