mirror of
https://github.com/zdharma-continuum/history-search-multi-word
synced 2024-11-21 19:03:11 +00:00
*highlight: Stop highlighting function name after () is typed
This commit is contained in:
parent
64f47cec06
commit
009d13369c
1 changed files with 2 additions and 0 deletions
|
@ -512,6 +512,8 @@ __HSMW_HIGHLIGHT_TOKENS_TYPES=(
|
|||
# || false # TODO: or if the previous word was a command word
|
||||
(( multi_func_def )) && (( next_word = next_word | 1 ))
|
||||
style=reserved-word
|
||||
# Remove possible annoying unknown-token style, or misleading function style
|
||||
reply[-1]=()
|
||||
;;
|
||||
'--'*) style=double-hyphen-option;;
|
||||
'-'*) style=single-hyphen-option;;
|
||||
|
|
Loading…
Reference in a new issue