diff --git a/CHANGELOG.md b/CHANGELOG.md index 56a8b2572..bbc7dec28 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -445,7 +445,7 @@ # 0.3.0 (2021-06-27) - A bunch of bugs regarding `o`/`O` behavior ([#281](https://github.com/helix-editor/helix/pull/281)) - `~` expansion now works in file completion ([#284](https://github.com/helix-editor/helix/pull/284)) - Several UI related overflow crashes ([#318](https://github.com/helix-editor/helix/pull/318)) -- Fix a test failure occuring only on `test --release` ([`4f108ab1`](https://github.com/helix-editor/helix/commit/4f108ab1b2197809506bd7305ad903a3525eabfa)) +- Fix a test failure occurring only on `test --release` ([`4f108ab1`](https://github.com/helix-editor/helix/commit/4f108ab1b2197809506bd7305ad903a3525eabfa)) - Prompts now support unicode input ([#295](https://github.com/helix-editor/helix/pull/295)) - Completion documentation no longer overlaps the popup ([#322](https://github.com/helix-editor/helix/pull/322)) - Fix a crash when trying to select `^` ([`9c534614`](https://github.com/helix-editor/helix/commit/9c53461429a3e72e3b1fb87d7ca490e168d7dee2)) diff --git a/book/src/configuration.md b/book/src/configuration.md index fea60d2f3..439c80f1c 100644 --- a/book/src/configuration.md +++ b/book/src/configuration.md @@ -43,7 +43,7 @@ ### `[editor]` Section | `completion-trigger-len` | The min-length of word under cursor to trigger autocompletion | `2` | | `auto-info` | Whether to display infoboxes | `true` | | `true-color` | Set to `true` to override automatic detection of terminal truecolor support in the event of a false negative. | `false` | -| `rulers` | List of column positions at which to display the rulers. Can be overidden by language specific `rulers` in `languages.toml` file. | `[]` | +| `rulers` | List of column positions at which to display the rulers. Can be overridden by language specific `rulers` in `languages.toml` file. | `[]` | ### `[editor.lsp]` Section diff --git a/book/src/generated/typable-cmd.md b/book/src/generated/typable-cmd.md index ee00e9ce9..ac2102020 100644 --- a/book/src/generated/typable-cmd.md +++ b/book/src/generated/typable-cmd.md @@ -7,8 +7,8 @@ | `:buffer-close!`, `:bc!`, `:bclose!` | Close the current buffer forcefully (ignoring unsaved changes). | | `:buffer-close-others`, `:bco`, `:bcloseother` | Close all buffers but the currently focused one. | | `:buffer-close-others!`, `:bco!`, `:bcloseother!` | Close all buffers but the currently focused one. | -| `:buffer-close-all`, `:bca`, `:bcloseall` | Close all buffers, without quiting. | -| `:buffer-close-all!`, `:bca!`, `:bcloseall!` | Close all buffers forcefully (ignoring unsaved changes), without quiting. | +| `:buffer-close-all`, `:bca`, `:bcloseall` | Close all buffers, without quitting. | +| `:buffer-close-all!`, `:bca!`, `:bcloseall!` | Close all buffers forcefully (ignoring unsaved changes), without quitting. | | `:buffer-next`, `:bn`, `:bnext` | Go to next buffer. | | `:buffer-previous`, `:bp`, `:bprev` | Go to previous buffer. | | `:write`, `:w` | Write changes to disk. Accepts an optional path (:write some/path.txt) | diff --git a/book/src/guides/README.md b/book/src/guides/README.md index 96e629783..e0c44ce7d 100644 --- a/book/src/guides/README.md +++ b/book/src/guides/README.md @@ -1,4 +1,4 @@ # Guides This section contains guides for adding new language server configurations, -tree-sitter grammers, textobject queries, etc. +tree-sitter grammars, textobject queries, etc. diff --git a/book/src/guides/indent.md b/book/src/guides/indent.md index 235a30c44..f4d916b21 100644 --- a/book/src/guides/indent.md +++ b/book/src/guides/indent.md @@ -39,7 +39,7 @@ ## Scopes ## Capture Types - `@indent` (default scope `tail`): -Increase the indent level by 1. Multiple occurences in the same line +Increase the indent level by 1. Multiple occurrences in the same line don't stack. If there is at least one `@indent` and one `@outdent` capture on the same line, the indent level isn't changed at all. diff --git a/book/src/install.md b/book/src/install.md index 3329d1c58..34d8b651c 100644 --- a/book/src/install.md +++ b/book/src/install.md @@ -58,7 +58,7 @@ ## Build from source This will install the `hx` binary to `$HOME/.cargo/bin`. Helix also needs it's runtime files so make sure to copy/symlink the `runtime/` directory into the -config directory (for example `~/.config/helix/runtime` on Linux/macOS). This location can be overriden +config directory (for example `~/.config/helix/runtime` on Linux/macOS). This location can be overridden via the `HELIX_RUNTIME` environment variable. | OS | command | diff --git a/book/src/keymap.md b/book/src/keymap.md index 942292e0b..2abe4f74a 100644 --- a/book/src/keymap.md +++ b/book/src/keymap.md @@ -191,7 +191,7 @@ #### Goto mode #### Match mode -Enter this mode using `m` from normal mode. See the relavant section +Enter this mode using `m` from normal mode. See the relevant section in [Usage](./usage.md) for an explanation about [surround](./usage.md#surround) and [textobject](./usage.md#textobject) usage. diff --git a/book/src/themes.md b/book/src/themes.md index 91ca18b10..e73aedc94 100644 --- a/book/src/themes.md +++ b/book/src/themes.md @@ -158,7 +158,7 @@ #### Syntax highlighting - `builtin` - `method` - `macro` - - `special` (preprocesor in C) + - `special` (preprocessor in C) - `tag` - Tags (e.g. `
` in HTML) diff --git a/book/theme/book.js b/book/theme/book.js index 5e386369f..407361838 100644 --- a/book/theme/book.js +++ b/book/theme/book.js @@ -601,10 +601,10 @@ function playground_text(playground) { }); })(); -(function controllMenu() { +(function controlMenu() { var menu = document.getElementById('menu-bar'); - (function controllPosition() { + (function controlPosition() { var scrollTop = document.scrollingElement.scrollTop; var prevScrollTop = scrollTop; var minMenuY = -menu.clientHeight - 50; @@ -647,7 +647,7 @@ function playground_text(playground) { prevScrollTop = scrollTop; }, { passive: true }); })(); - (function controllBorder() { + (function controlBorder() { menu.classList.remove('bordered'); document.addEventListener('scroll', function () { if (menu.offsetTop === 0) { diff --git a/book/theme/css/chrome.css b/book/theme/css/chrome.css index aba8a417b..4e0513178 100644 --- a/book/theme/css/chrome.css +++ b/book/theme/css/chrome.css @@ -390,7 +390,7 @@ ul#searchresults span.teaser em { .chapter li { display: flex; - color: var(--sidebar-non-existant); + color: var(--sidebar-non-existent); } .chapter li a { display: block; diff --git a/book/theme/css/variables.css b/book/theme/css/variables.css index b62c75581..1bf91b19a 100644 --- a/book/theme/css/variables.css +++ b/book/theme/css/variables.css @@ -16,7 +16,7 @@ --sidebar-bg: #14191f; --sidebar-fg: #c8c9db; - --sidebar-non-existant: #5c6773; + --sidebar-non-existent: #5c6773; --sidebar-active: #ffb454; --sidebar-spacer: #2d334f; @@ -56,7 +56,7 @@ --sidebar-bg: #292c2f; --sidebar-fg: #a1adb8; - --sidebar-non-existant: #505254; + --sidebar-non-existent: #505254; --sidebar-active: #3473ad; --sidebar-spacer: #393939; @@ -96,7 +96,7 @@ --sidebar-bg: #fafafa; --sidebar-fg: hsl(0, 0%, 0%); - --sidebar-non-existant: #aaaaaa; + --sidebar-non-existent: #aaaaaa; --sidebar-active: #1f1fff; --sidebar-spacer: #f4f4f4; @@ -136,7 +136,7 @@ --sidebar-bg: #282d3f; --sidebar-fg: #c8c9db; - --sidebar-non-existant: #505274; + --sidebar-non-existent: #505274; --sidebar-active: #2b79a2; --sidebar-spacer: #2d334f; @@ -176,7 +176,7 @@ --sidebar-bg: #3b2e2a; --sidebar-fg: #c8c9db; - --sidebar-non-existant: #505254; + --sidebar-non-existent: #505254; --sidebar-active: #e69f67; --sidebar-spacer: #45373a; @@ -217,7 +217,7 @@ --sidebar-bg: #292c2f; --sidebar-fg: #a1adb8; - --sidebar-non-existant: #505254; + --sidebar-non-existent: #505254; --sidebar-active: #3473ad; --sidebar-spacer: #393939; @@ -259,7 +259,7 @@ --sidebar-bg: #281733; --sidebar-fg: #c8c9db; - --sidebar-non-existant: #505274; + --sidebar-non-existent: #505274; --sidebar-active: #a4a0e8; --sidebar-spacer: #2d334f; @@ -304,7 +304,7 @@ --sidebar-bg: #281733; --sidebar-fg: #c8c9db; - --sidebar-non-existant: #505274; + --sidebar-non-existent: #505274; --sidebar-active: #a4a0e8; --sidebar-spacer: #2d334f; diff --git a/helix-core/src/history.rs b/helix-core/src/history.rs index bb95213c1..3f324e340 100644 --- a/helix-core/src/history.rs +++ b/helix-core/src/history.rs @@ -22,10 +22,10 @@ /// /// The current revision is the one currently displayed in the buffer. /// -/// Commiting a new revision to the history will update the last child of the +/// Committing a new revision to the history will update the last child of the /// current revision, and push a new revision to the end of the vector. /// -/// Revisions are commited with a timestamp. :earlier and :later can be used +/// Revisions are committed with a timestamp. :earlier and :later can be used /// to jump to the closest revision to a moment in time relative to the timestamp /// of the current revision plus (:later) or minus (:earlier) the duration /// given to the command. If a single integer is given, the editor will instead @@ -33,7 +33,7 @@ /// /// Limitations: /// * Changes in selections currently don't commit history changes. The selection -/// will only be updated to the state after a commited buffer change. +/// will only be updated to the state after a committed buffer change. /// * The vector of history revisions is currently unbounded. This might /// cause the memory consumption to grow significantly large during long /// editing sessions. @@ -288,7 +288,7 @@ pub enum UndoKind { TimePeriod(std::time::Duration), } -/// A subset of sytemd.time time span syntax units. +/// A subset of systemd.time time span syntax units. const TIME_UNITS: &[(&[&str], &str, u64)] = &[ (&["seconds", "second", "sec", "s"], "seconds", 1), (&["minutes", "minute", "min", "m"], "minutes", 60), diff --git a/helix-core/src/path.rs b/helix-core/src/path.rs index e0c3bef65..6bf722a77 100644 --- a/helix-core/src/path.rs +++ b/helix-core/src/path.rs @@ -14,7 +14,7 @@ pub fn fold_home_dir(path: &Path) -> PathBuf { path.to_path_buf() } -/// Expands tilde `~` into users home directory if avilable, otherwise returns the path +/// Expands tilde `~` into users home directory if available, otherwise returns the path /// unchanged. The tilde will only be expanded when present as the first component of the path /// and only slash follows it. pub fn expand_tilde(path: &Path) -> PathBuf { diff --git a/helix-core/src/syntax.rs b/helix-core/src/syntax.rs index 2fd4ed9ba..3f9e7bcf8 100644 --- a/helix-core/src/syntax.rs +++ b/helix-core/src/syntax.rs @@ -229,7 +229,7 @@ pub struct TextObjectQuery { pub enum CapturedNode<'a> { Single(Node<'a>), - /// Guarenteed to be not empty + /// Guaranteed to be not empty Grouped(Vec