summaryrefslogtreecommitdiff
path: root/meta/template
diff options
context:
space:
mode:
authorC3pa <41503714+C3pa@users.noreply.github.com>2023-05-15 17:56:54 +0200
committerGitHub <noreply@github.com>2023-05-15 17:56:54 +0200
commit20c089e1664fadce54a44cee7d6055ab92923f3e (patch)
tree5c4e6eba7ef3572b4b384c943f9b92ab24ac0b14 /meta/template
parent2372d6ee9cdf34cb0feb78a32f5b82f8b9074d9f (diff)
downloadlua-language-server-20c089e1664fadce54a44cee7d6055ab92923f3e.zip
meta: add some spaces to improve readability
Diffstat (limited to 'meta/template')
-rw-r--r--meta/template/jit.profile.lua4
-rw-r--r--meta/template/jit.util.lua2
2 files changed, 3 insertions, 3 deletions
diff --git a/meta/template/jit.profile.lua b/meta/template/jit.profile.lua
index d0e788ce..a7db77bf 100644
--- a/meta/template/jit.profile.lua
+++ b/meta/template/jit.profile.lua
@@ -4,14 +4,14 @@
local profile = {}
---@param mode string
----@param func fun(L:thread,samples:integer,vmst:string)
+---@param func fun(L: thread, samples: integer, vmst: string)
function profile.start(mode, func)
end
function profile.stop()
end
----@overload fun(th:thread,fmt:string,depth:integer)
+---@overload fun(th: thread, fmt: string, depth: integer)
---@param fmt string
---@param depth integer
function profile.dumpstack(fmt, depth)
diff --git a/meta/template/jit.util.lua b/meta/template/jit.util.lua
index 08694286..cf525527 100644
--- a/meta/template/jit.util.lua
+++ b/meta/template/jit.util.lua
@@ -105,7 +105,7 @@ end
function util.tracemc(tr)
end
----@overload fun(exitno:integer):integer
+---@overload fun(exitno: integer): integer
---@param tr Trace
---@param exitno integer
---@return integer? addr