使用 JavaScript能使本网站更好的工作。
首页
探索
帮助
登录
isprogram
/
zsh-syntax-highlighting
镜像自地址
https://github.com/zsh-users/zsh-syntax-highlighting.git
关注
1
点赞
0
派生
0
代码
工单
0
项目
0
版本发布
17
百科
动态
浏览代码
noop: Restructure code for clarity.
The structure now mirrors the stall construct at the top of the loop.
pull/355/head
Daniel Shahaf
8 年前
父节点
d1c773faa7
当前提交
6e2ef574c8
共有
1 个文件被更改
,包括
6 次插入
和
1 次删除
分列视图
Diff 选项
显示统计
下载 Patch 文件
下载 Diff 文件
+6
-1
highlighters/main/main-highlighter.zsh
+ 6
- 1
highlighters/main/main-highlighter.zsh
查看文件
@ -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
}
撰写
预览
正在加载...
取消
保存