mirror of
https://github.com/zdharma-continuum/history-search-multi-word
synced 2024-11-21 19:03:11 +00:00
*highlight: 7ms opt: (#m) doesn't need match, mend, mbegin
This commit is contained in:
parent
a051f6a6cb
commit
05cb4c6073
1 changed files with 0 additions and 1 deletions
|
@ -396,7 +396,6 @@ typeset -gA HSMW_HIGHLIGHT_STYLES
|
|||
# word, the parameter expansion will be highlighted as a reserved word --- but that
|
||||
# incorrectness is outweighed by the usability improvement of permitting the use of
|
||||
# parameters that refer to commands, functions, and builtins.
|
||||
local -a match mbegin mend
|
||||
local MATCH; integer MBEGIN MEND
|
||||
if [[ $res == none ]] && (( ${+parameters} )) &&
|
||||
[[ ${arg[1]} == \$ ]] && [[ ${arg:1} = (#m)([[:alpha:]_][[:alnum:]_]#|[[:digit:]]##) ]] &&
|
||||
|
|
Loading…
Reference in a new issue