aboutsummaryrefslogtreecommitdiff
path: root/runtime/doc/lua.txt
diff options
context:
space:
mode:
authormarvim <marvim@users.noreply.github.com>2021-11-18 21:50:55 +0000
committermarvim <marvim@users.noreply.github.com>2021-11-18 21:50:55 +0000
commit2d340a3746dd5d6caf17b2c2e78380fa423409e8 (patch)
treebab0c2b40758f6f2f19dadef3a9db2185fb60a1b /runtime/doc/lua.txt
parentf71be1f87b40bf863b6cf6b4fbcebffdd3297d88 (diff)
downloadrneovim-2d340a3746dd5d6caf17b2c2e78380fa423409e8.tar.gz
rneovim-2d340a3746dd5d6caf17b2c2e78380fa423409e8.tar.bz2
rneovim-2d340a3746dd5d6caf17b2c2e78380fa423409e8.zip
docs: regenerate
Diffstat (limited to 'runtime/doc/lua.txt')
-rw-r--r--runtime/doc/lua.txt8
1 files changed, 7 insertions, 1 deletions
diff --git a/runtime/doc/lua.txt b/runtime/doc/lua.txt
index 906da31d3a..cc70c7b2fd 100644
--- a/runtime/doc/lua.txt
+++ b/runtime/doc/lua.txt
@@ -1200,7 +1200,7 @@ inspect({object}, {options}) *vim.inspect()*
https://github.com/kikito/inspect.lua
https://github.com/mpeterv/vinspect
-make_dict_accessor({scope}) *vim.make_dict_accessor()*
+make_dict_accessor({scope}, {handle}) *vim.make_dict_accessor()*
TODO: Documentation
notify({msg}, {log_level}, {_opts}) *vim.notify()*
@@ -1729,6 +1729,12 @@ select({items}, {opts}, {on_choice}) *vim.ui.select()*
• format_item (function item -> text)
Function to format an individual item from
`items` . Defaults to `tostring` .
+ • kind (string|nil) Arbitrary hint string
+ indicating the item shape. Plugins
+ reimplementing `vim.ui.select` may wish to
+ use this to infer the structure or
+ semantics of `items` , or the context in
+ which select() was called.
{on_choice} function ((item|nil, idx|nil) -> ()) Called
once the user made a choice. `idx` is the
1-based index of `item` within `item` . `nil`