*highlight: Stop highlighting function name after () is typed

This commit is contained in:
Sebastian Gniazdowski 2016-11-03 13:17:37 +01:00
parent 64f47cec06
commit 009d13369c

View file

@ -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;;