mirror of
https://github.com/zdharma-continuum/history-search-multi-word
synced 2024-11-28 14:20:20 +00:00
*highlight: Optimization: compress code handling MULTI_FUNC_DEF
This commit is contained in:
parent
bd6e44859c
commit
8996f4c281
1 changed files with 2 additions and 4 deletions
|
@ -531,10 +531,8 @@ __HSMW_HIGHLIGHT_TOKENS_TYPES=(
|
|||
-hsmw-highlight-stack-pop 'R' style=reserved-word
|
||||
fi;;
|
||||
$'\x28\x29') # possibly a function definition
|
||||
if (( multi_func_def )) # || false # TODO: or if the previous word was a command word
|
||||
then
|
||||
(( next_word = next_word | BIT_start ))
|
||||
fi
|
||||
# || false # TODO: or if the previous word was a command word
|
||||
(( multi_func_def )) && (( next_word = next_word | BIT_start ))
|
||||
style=reserved-word
|
||||
;;
|
||||
$'\x7d') # right brace
|
||||
|
|
Loading…
Reference in a new issue