I noticed that bash will correctly apply syntax highlighting inside the subshell substitution in
VALUE="Hello $(echo World)."
But when creating a more complicated value, e.g.
VALUE="Hello $( echo good echo world )."
the commands inside the subshell will be highlighted as string-contents, and indentation will behave as text-mode indentation. Indentation works correctly when writing something like
VALUE="Hello "$( echo good echo world )"."
but this changes the semantics, unless IFS is set to the empty string.
Is there some way to fix this?