Hi,
So, when using heredoc inside bash syntax highlight stops working.
with this example you can see how cat <<'EOF'
and cat<<"EOF"
are ok, but after cat<<EOF
at line 27, which allows for variables expansion, everything remains green and doesn’t go back to the normal theme colors.
cat<<'EOF' > test
test
EOF
echo "ok"
tee test <<'EOF'
test
EOF
echo "ok"
cat<<"EOF" > test
test
EOF
echo "ok"
tee test <<"EOF"
test
EOF
echo "ok"
cat<<EOF > test
test
EOF
echo "ok"
tee test <<EOF
test
EOF
echo "ok"
Thanks