This commit is contained in:
2023-10-31 19:14:40 +01:00
parent 1e1efa6f07
commit 1a89d0ab85
2 changed files with 2 additions and 1 deletions

View File

@@ -34,7 +34,7 @@ Available operators:
basic operators: + - * /
Math operators:
^ power`
^ power` // FIXME: add help strings from lua functions
// That way I can add custom functions to completion
func GetCompleteCustomFunctions() func(string) []string {

View File

@@ -12,6 +12,7 @@ var L *lua.LState
var LuaFuncs map[string]int
// FIXME: add 2nd var with help string
// called from lua to register a 1 arg math function
func RegisterFuncOneArg(L *lua.LState) int {
function := L.ToString(1)