-source.ch: Support here-string

This commit is contained in:
Sebastian Gniazdowski 2019-12-30 03:32:15 +01:00
parent e15e97c4ba
commit 59ab419ae9

View file

@ -34,6 +34,10 @@ integer __idx1 __idx2
# "starts new command", if so pass-through chroma ends
[[ "$__arg_type" = 3 ]] && return 2
if (( in_redirection > 0 || this_word & 128 )) || [[ $__wrd == "<<<" ]]; then
return 1
fi
if [[ "$__wrd" = -* ]]; then
# Detected option, add style for it.
[[ "$__wrd" = --* ]] && __style=${FAST_THEME_NAME}double-hyphen-option || \