mirror of
https://github.com/zdharma-continuum/history-search-multi-word
synced 2024-11-13 23:37:12 +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
|
-hsmw-highlight-stack-pop 'R' style=reserved-word
|
||||||
fi;;
|
fi;;
|
||||||
$'\x28\x29') # possibly a function definition
|
$'\x28\x29') # possibly a function definition
|
||||||
if (( multi_func_def )) # || false # TODO: or if the previous word was a command word
|
# || false # TODO: or if the previous word was a command word
|
||||||
then
|
(( multi_func_def )) && (( next_word = next_word | BIT_start ))
|
||||||
(( next_word = next_word | BIT_start ))
|
|
||||||
fi
|
|
||||||
style=reserved-word
|
style=reserved-word
|
||||||
;;
|
;;
|
||||||
$'\x7d') # right brace
|
$'\x7d') # right brace
|
||||||
|
|
Loading…
Reference in a new issue