Hi, when there is a single ' in a comment within a subshell, I get this error: foo[6]: no closing quote
Here is an example script to reproduce the problem:
foo=$(
# It's bar:
echo bar
)
echo $foo
I found this behaviour unexpected und suspect it's a bug. I had
encountered this as a real world problem in a project on GitHub [1].
With best regards,
Richard Ulmer
[1] https://github.com/mawww/kakoune/pull/2943

