From b35bcae35b3f9665043c335e55ed5828af77db85 Mon Sep 17 00:00:00 2001 From: Ivan Molodetskikh Date: Sat, 29 Nov 2025 09:59:56 +0300 Subject: [PATCH] Fix typos in comments --- src/handlers/layer_shell.rs | 2 +- src/layout/scrolling.rs | 4 ++-- src/ui/mru.rs | 2 +- typos.toml | 8 ++++++++ 4 files changed, 12 insertions(+), 4 deletions(-) diff --git a/src/handlers/layer_shell.rs b/src/handlers/layer_shell.rs index a1e66d1a..8560970d 100644 --- a/src/handlers/layer_shell.rs +++ b/src/handlers/layer_shell.rs @@ -191,7 +191,7 @@ impl State { layer.layer_surface().send_configure(); } - // If we already sent an initial configure, then map.arange() above had just sent + // If we already sent an initial configure, then map.arrange() above had just sent // it a new configure, if needed. } } diff --git a/src/layout/scrolling.rs b/src/layout/scrolling.rs index ee4d1ee9..a1619994 100644 --- a/src/layout/scrolling.rs +++ b/src/layout/scrolling.rs @@ -2562,7 +2562,7 @@ impl ScrollingSpace { if tile.window().id() == id { // In the scrolling layout, we try to position popups horizontally within the // window geometry (so they remain visible even if the window scrolls flush with - // the left/right edge of the screen), and vertically wihin the whole parent + // the left/right edge of the screen), and vertically within the whole parent // working area. let width = tile.window_size().w; let height = self.parent_area.size.h; @@ -4219,7 +4219,7 @@ impl Column { // // 2. Unfullscreening a tabbed column with multiple tiles should restore the view offset // correctly. This means waiting for *all* tiles to unfullscreen, because otherwise the - // restored view offset will immediately get overwritted by the still screen-wide column + // restored view offset will immediately get overwritten by the still screen-wide column // (it uses the largest tile's width). // // 3. Changing a fullscreen tabbed column to normal should probably also restore the view diff --git a/src/ui/mru.rs b/src/ui/mru.rs index e7fe9227..1b2aca1d 100644 --- a/src/ui/mru.rs +++ b/src/ui/mru.rs @@ -1144,7 +1144,7 @@ impl WindowMruUi { // offscreens showing the same window (possibly in addition to the window // itself). // - // Anyhow, this is not very noticable since Alt-Tab closing happens quickly. + // Anyhow, this is not very noticeable since Alt-Tab closing happens quickly. Some(WindowMruUiRenderElement::Offscreen(elem.with_alpha(alpha))) } Err(err) => { diff --git a/typos.toml b/typos.toml index 02d3ec10..6f68f7c2 100644 --- a/typos.toml +++ b/typos.toml @@ -1,2 +1,10 @@ +[default] +extend-ignore-re = [ + "systemd-localed", +] + +[default.extend-identifiers] +WRONLY = "WRONLY" + [default.extend-words] datas = "datas"