mirror of
https://github.com/zdharma-continuum/history-search-multi-word
synced 2024-11-25 04:40:21 +00:00
*highlight: ## -> # in previous patch
This commit is contained in:
parent
c05d35e0a0
commit
e4fd270cb5
1 changed files with 1 additions and 1 deletions
|
@ -628,7 +628,7 @@ __HSMW_HIGHLIGHT_TOKENS_TYPES=(
|
||||||
mybuf="$arg"
|
mybuf="$arg"
|
||||||
idx=start_pos
|
idx=start_pos
|
||||||
|
|
||||||
while [[ "$mybuf" = (#b)[^\$\\]#((\$(#B)([a-zA-Z_:][a-zA-Z0-9_:]##|[0-9]##)(#b)(\[[^\]]#\])(#c0,1))|(\$[{](\([a-zA-Z0@%#]##\))(#c0,1)[a-zA-Z0-9_:#]##(\[[^\]]#\])(#c0,1)[}])|[\\][\'\"\$]|[\\](*))(*) ]]; do
|
while [[ "$mybuf" = (#b)[^\$\\]#((\$(#B)([a-zA-Z_:][a-zA-Z0-9_:]#|[0-9]##)(#b)(\[[^\]]#\])(#c0,1))|(\$[{](\([a-zA-Z0@%#]##\))(#c0,1)[a-zA-Z0-9_:#]##(\[[^\]]#\])(#c0,1)[}])|[\\][\'\"\$]|[\\](*))(*) ]]; do
|
||||||
[[ -n "${match[7]}" ]] && {
|
[[ -n "${match[7]}" ]] && {
|
||||||
# Skip following char – it is quoted. Choice is
|
# Skip following char – it is quoted. Choice is
|
||||||
# made to not highlight such quoting
|
# made to not highlight such quoting
|
||||||
|
|
Loading…
Reference in a new issue