diff options
Diffstat (limited to 'tools/lovr-api.lua')
-rw-r--r-- | tools/lovr-api.lua | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/tools/lovr-api.lua b/tools/lovr-api.lua index 4c4831fb..573eea9e 100644 --- a/tools/lovr-api.lua +++ b/tools/lovr-api.lua @@ -132,7 +132,7 @@ local function buildDocFunc(variant, overload) params[#params+1] = '...' else if param.name:find '^[\'"]' then - params[#params+1] = ('%s%s: %s|%s'):format(param.name, getOptional(param), getTypeName(param.type), param.name) + params[#params+1] = ('%s%s: %s|%s'):format(param.name:sub(2, -2), getOptional(param), getTypeName(param.type), param.name) else params[#params+1] = ('%s%s: %s'):format(param.name, getOptional(param), getTypeName(param.type)) end |