Lua:unregisterLuaFunctionHighlight
Jump to navigation
Jump to search
Removes a Lua function name from syntax highlighting.
After unregistering the name, the Lua highlighter will no longer show the given function name as a function keyword.
Function Parameters
| Parameter | Type | Description |
|---|---|---|
| functionname | String | The function name to remove from being shown as a function keyword in the Lua highlighter. |
Returns
void — This function does not return any value.
Examples
1 registerLuaFunctionHighlight("myCustomFunction")
2
3 -- Later, remove the custom highlighting again
4 unregisterLuaFunctionHighlight("myCustomFunction")