Lua 5.4 updated their docs last month apparently!
This commit is contained in:
parent
4a93642469
commit
8ef844ab90
@ -1,5 +1,5 @@
|
|||||||
;; auto-generated by `make docs` from fennel-ls. Contents come from https://www.lua.org/manual/5.4/manual.html
|
;; auto-generated by `make docs` from fennel-ls. Contents come from https://www.lua.org/manual/5.4/manual.html
|
||||||
;; Lua Lua 5.4 Reference Manual last updated Tue May 2 20:09:38 UTC 2023
|
;; Lua Lua 5.4 Reference Manual last updated Thu Jun 13 22:15:52 UTC 2024
|
||||||
(local docs {:_G {:binding "_G"
|
(local docs {:_G {:binding "_G"
|
||||||
:metadata {:fnl/docstring "A global variable (not a function) that
|
:metadata {:fnl/docstring "A global variable (not a function) that
|
||||||
holds the global environment
|
holds the global environment
|
||||||
@ -223,13 +223,13 @@ The returned table can contain all the fields returned by `lua_getinfo`,
|
|||||||
with the string `?what` describing which fields to fill in.
|
with the string `?what` describing which fields to fill in.
|
||||||
The default for `?what` is to get all information available,
|
The default for `?what` is to get all information available,
|
||||||
except the table of valid lines.
|
except the table of valid lines.
|
||||||
If present,
|
The option `\"f\"`
|
||||||
the option `\"f\"`
|
|
||||||
adds a field named `func` with the function itself.
|
adds a field named `func` with the function itself.
|
||||||
If present,
|
The option `\"L\"` adds a field named `activelines`
|
||||||
the option `\"L\"`
|
with the table of valid lines,
|
||||||
adds a field named `activelines` with the table of
|
provided the function is a Lua function.
|
||||||
valid lines.
|
If the function has no debug information,
|
||||||
|
the table is empty.
|
||||||
|
|
||||||
For instance, the expression `debug.getinfo(1,\"n\").name` returns
|
For instance, the expression `debug.getinfo(1,\"n\").name` returns
|
||||||
a name for the current function,
|
a name for the current function,
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user