Is there way to make TeXstudio ignore the contents of a
\directlua command when performing syntax highlighting? Currently, it ends up causing highlighting like:
Which is distracting when scanning the file, but worse still, depending on what the contents are, it can lead the highlighting for later sections being changed as well (as in the image). There currently appears to be an (old) issue open for allowing Lua syntax highlighting. Of course, having the appropriate highlighting would be best, but without that, is there a way I can have TeXstudio just ignore the entire contents of the
\directlua's braces (noting that there may be braces within its braces)? Thank you for your time.