*highlight: Optimization: use previous style value; compress

This commit is contained in:
Sebastian Gniazdowski 2016-10-25 20:47:34 +02:00
parent 5c30308699
commit ca2e333cfd

View file

@ -487,11 +487,7 @@ __HSMW_HIGHLIGHT_TOKENS_TYPES=(
style=reserved-word
braces_stack='R'"$braces_stack"
else
if -hsmw-highlight-check-path; then
style=path
else
style=unknown-token
fi
-hsmw-highlight-check-path && style=path
fi
;;
*)