浏览代码

internal: Document a function-local variable.

pull/177/merge
Daniel Shahaf 9 年前
父节点
当前提交
f4164ac86c
共有 1 个文件被更改,包括 5 次插入1 次删除
  1. +5
    -1
      highlighters/main/main-highlighter.zsh

+ 5
- 1
highlighters/main/main-highlighter.zsh 查看文件

@ -102,7 +102,11 @@ _zsh_highlight_main_highlighter()
)
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=""
if $new_expression && [[ $arg = 'noglob' ]]; then
highlight_glob=false

正在加载...
取消
保存