Skip to content

Commit

Permalink
*: Fix spelling
Browse files Browse the repository at this point in the history
Part of PR #832.
  • Loading branch information
a1346054 authored and danielshahaf committed Aug 20, 2021
1 parent dffe304 commit 6e0e950
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion docs/highlighters.md
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down
2 changes: 1 addition & 1 deletion highlighters/main/main-highlighter.zsh
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down

0 comments on commit 6e0e950

Please sign in to comment.