texstudio icon indicating copy to clipboard operation
texstudio copied to clipboard

Highlight support for environments of package luacode

Open RamonAbudAlcala opened this issue 3 years ago • 0 comments

When using LuaLaTeX one may load \usepackage{luacode} which provides a small arrange of commands and environments to handle lua code better than the native \directlua. When using these environment the contents are highlighted as if they were text. But it would be nice if these could be highlited as lua.

The commands and environments in question are (taken from the documentation): \luadirect \luaexec luacode (env) luacode* (env) \luastring \luastringN \luastringO

Note that lua highliting already happens if one uses \directlua

RamonAbudAlcala avatar Jul 12 '22 04:07 RamonAbudAlcala