Sfoglia il codice sorgente

*: Fix spelling

Part of PR #832.
pull/837/head
a1346054 3 anni fa
committed by Daniel Shahaf
parent
commit
6e0e950154
2 ha cambiato i file con 2 aggiunte e 2 eliminazioni
  1. +1
    -1
      docs/highlighters.md
  2. +1
    -1
      highlighters/main/main-highlighter.zsh

+ 1
- 1
docs/highlighters.md Vedi File

@ -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

+ 1
- 1
highlighters/main/main-highlighter.zsh Vedi File

@ -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

Caricamento…
Annulla
Salva