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
|
||||
;; 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"
|
||||
:metadata {:fnl/docstring "A global variable (not a function) that
|
||||
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.
|
||||
The default for `?what` is to get all information available,
|
||||
except the table of valid lines.
|
||||
If present,
|
||||
the option `\"f\"`
|
||||
The option `\"f\"`
|
||||
adds a field named `func` with the function itself.
|
||||
If present,
|
||||
the option `\"L\"`
|
||||
adds a field named `activelines` with the table of
|
||||
valid lines.
|
||||
The option `\"L\"` adds a field named `activelines`
|
||||
with the table of valid lines,
|
||||
provided the function is a Lua function.
|
||||
If the function has no debug information,
|
||||
the table is empty.
|
||||
|
||||
For instance, the expression `debug.getinfo(1,\"n\").name` returns
|
||||
a name for the current function,
|
||||
|
||||
Loading…
Reference in New Issue
Block a user