internal: Document a function-local variable.

This commit is contained in:
Daniel Shahaf 2015-09-25 21:15:34 +00:00
parent 9c7a1109c8
commit f4164ac86c

View File

@ -102,7 +102,11 @@ _zsh_highlight_main_highlighter()
) )
for arg in ${(z)buf}; do for arg in ${(z)buf}; do
local substr_color=0 # substr_color is set to 1 to disable adding an entry to region_highlight
# for this iteration. Currently, that is done for "" strings,
# which add the entry early so escape sequences within the string override
# the string's color.
integer substr_color=0
local style_override="" local style_override=""
if $new_expression && [[ $arg = 'noglob' ]]; then if $new_expression && [[ $arg = 'noglob' ]]; then
highlight_glob=false highlight_glob=false