According to this meta question, tag-based syntax highlighting should be working but In this Lua question that was not the case. I suggested an edit to fix the highlighting in the question itself but you can still see the bad highlighting in this answer (the comments are the wrong color).
1 Answer
\$\begingroup\$
\$\endgroup\$
I've set the code language hint for the Lua tag to use... Lua highlighting.
All appears as should be now.