From 6e0e950154a4c6983d9e077ed052298ad9126144 Mon Sep 17 00:00:00 2001 From: a1346054 <36859588+a1346054@users.noreply.github.com> Date: Fri, 20 Aug 2021 11:26:52 +0000 Subject: [PATCH] *: Fix spelling Part of PR #832. --- docs/highlighters.md | 2 +- highlighters/main/main-highlighter.zsh | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/docs/highlighters.md b/docs/highlighters.md index bb72e54..17b9df4 100644 --- a/docs/highlighters.md +++ b/docs/highlighters.md @@ -25,7 +25,7 @@ By default, all command lines are highlighted. However, it is possible to prevent command lines longer than a fixed number of characters from being highlighted by setting the variable `${ZSH_HIGHLIGHT_MAXLENGTH}` to the maximum length (in characters) of command lines to be highlighter. This is useful when -editing very long comand lines (for example, with the [`fned`][fned] utility +editing very long command lines (for example, with the [`fned`][fned] utility function). Example: [fned]: http://zsh.sourceforge.net/Doc/Release/User-Contributions.html#index-zed diff --git a/highlighters/main/main-highlighter.zsh b/highlighters/main/main-highlighter.zsh index b251a3c..8881dfa 100644 --- a/highlighters/main/main-highlighter.zsh +++ b/highlighters/main/main-highlighter.zsh @@ -744,7 +744,7 @@ _zsh_highlight_main_highlighter_highlight_list() # Analyse the current word. if _zsh_highlight_main__is_redirection $arg ; then if (( in_redirection == 1 )); then - # Two consecuive redirection operators is an error. + # Two consecutive redirection operators is an error. _zsh_highlight_main_add_region_highlight $start_pos $end_pos unknown-token else in_redirection=2