are there any requirements for "registerLuaFunctionHighlight"
The Documentation just says "registerLuaFunctionHighlight(functionname): Makes the lua highlighter show the functionname as a functionkeyword"
It doesn't appear to be working but I don't think it's a huge issue because it's just function highlighting. You could always affix an underscore to function names that are to do with Lua.
It doesn't appear to be working but I don't think it's a huge issue because it's just function highlighting. You could always affix an underscore to function names that are to do with Lua.
function myfunction()
end
registerLuaFunctionHighlight('myfunction')
from then on when you type myfunction in lua it will get highlighted as a function
Awesome. Works thank you.
Maybe they should write "functionname as string". Would be clearer.
If you come from C++, C# or Java a functionname is a functionname and not a string