Pārlūkot izejas kodu

noop: Restructure code for clarity.

The structure now mirrors the stall construct at the top of the loop.
pull/355/head
Daniel Shahaf pirms 8 gadiem
vecāks
revīzija
6e2ef574c8
1 mainītis faili ar 6 papildinājumiem un 1 dzēšanām
  1. +6
    -1
      highlighters/main/main-highlighter.zsh

+ 6
- 1
highlighters/main/main-highlighter.zsh Parādīt failu

@ -546,7 +546,12 @@ _zsh_highlight_main_highlighter()
this_word=':start::regular:'
fi
start_pos=$end_pos
(( in_redirection == 0 )) && this_word=$next_word
if (( in_redirection == 0 )); then
# This is the default/common codepath.
this_word=$next_word
else
# Stall $this_word.
fi
done
}

Notiek ielāde…
Atcelt
Saglabāt