\begin{myenv}[ % here the options
]
\end{myenv}
The attached patch solves the problem.
Regards,
Chip Campbell
Thank you very much. I could not find any problem with the new version.
But I found one more missing comment possibility:
\includegraphics[% comment..
is not supported yet. Adding texInputFileOpt to the "contains" list of
the related "syn match texInputFile" solves the problem.
Best regards,
Johann Felix Soden