Просмотр исходного кода

noop: Clarify comment.

pull/700/head
Daniel Shahaf 4 лет назад
Родитель
Сommit
5720d87052
1 измененных файлов: 1 добавлений и 1 удалений
  1. +1
    -1
      highlighters/main/main-highlighter.zsh

+ 1
- 1
highlighters/main/main-highlighter.zsh Просмотреть файл

@ -646,7 +646,7 @@ _zsh_highlight_main_highlighter_highlight_list()
# Analyse the current word.
if _zsh_highlight_main__is_redirection $arg ; then
if (( in_redirection == 1 )); then
# The condition excludes the case that BUFFER='{foo}>&2' and we're on the '>&'.
# Two consecuive redirection operators is an error.
_zsh_highlight_main_add_region_highlight $start_pos $end_pos unknown-token
else
in_redirection=2

Загрузка…
Отмена
Сохранить