mirror of
https://github.com/zdharma-continuum/history-search-multi-word
synced 2024-11-28 14:20:20 +00:00
*highlight: Make '|| false' a comment
parse.zsh -oo, after changes: Running time: 1.8009350000 num calls time self name ----------------------------------------------------------------------------------- 1) 350 1793,49 5,12 100,00% 1319,59 3,77 73,57% -hsmw-highlight-process 2) 2800 336,92 0,12 18,78% 336,92 0,12 18,78% -hsmw-highlight-string 3) 2450 80,77 0,03 4,50% 80,77 0,03 4,50% -hsmw-highlight-check-path 4) 1400 38,54 0,03 2,15% 38,54 0,03 2,15% -hsmw-highlight-main-type 5) 350 9,74 0,03 0,54% 9,74 0,03 0,54% -hsmw-highlight-stack-pop 6) 350 7,93 0,02 0,44% 7,93 0,02 0,44% -hsmw-highlight-path-separators 7) 1 0,07 0,07 0,00% 0,07 0,07 0,00% -hsmw-highlight-fill-option-variables 8) 1 0,01 0,01 0,00% 0,01 0,01 0,00% -hsmw-highlight-init
This commit is contained in:
parent
b6704cca92
commit
bd6e44859c
1 changed files with 1 additions and 1 deletions
|
@ -531,7 +531,7 @@ __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
|
||||
if (( multi_func_def )) # || false # TODO: or if the previous word was a command word
|
||||
then
|
||||
(( next_word = next_word | BIT_start ))
|
||||
fi
|
||||
|
|
Loading…
Reference in a new issue