diff options
author | Maria José Solano <majosolano99@gmail.com> | 2024-03-02 13:11:23 -0800 |
---|---|---|
committer | Christian Clason <c.clason@uni-graz.at> | 2024-03-07 10:24:34 +0100 |
commit | e52c25b7617ac6401b080f76b0e227161dfef230 (patch) | |
tree | 5ba26232e1d7ef539ae727514f588e8515f4ff9e /runtime/doc/lua.txt | |
parent | 6525832a8c4d44a8ebabba02a5ea1ce09b389a4f (diff) | |
download | rneovim-e52c25b7617ac6401b080f76b0e227161dfef230.tar.gz rneovim-e52c25b7617ac6401b080f76b0e227161dfef230.tar.bz2 rneovim-e52c25b7617ac6401b080f76b0e227161dfef230.zip |
feat(lua): deprecate vim.tbl_add_reverse_lookup
Diffstat (limited to 'runtime/doc/lua.txt')
-rw-r--r-- | runtime/doc/lua.txt | 12 |
1 files changed, 0 insertions, 12 deletions
diff --git a/runtime/doc/lua.txt b/runtime/doc/lua.txt index 4f8c685a41..d0ce737e49 100644 --- a/runtime/doc/lua.txt +++ b/runtime/doc/lua.txt @@ -2149,18 +2149,6 @@ vim.startswith({s}, {prefix}) *vim.startswith()* Return: ~ (`boolean`) `true` if `prefix` is a prefix of `s` -vim.tbl_add_reverse_lookup({o}) *vim.tbl_add_reverse_lookup()* - Add the reverse lookup values to an existing table. For example: - `tbl_add_reverse_lookup { A = 1 } == { [1] = 'A', A = 1 }` - - Note that this modifies the input. - - Parameters: ~ - • {o} (`table`) Table to add the reverse to - - Return: ~ - (`table`) o - vim.tbl_contains({t}, {value}, {opts}) *vim.tbl_contains()* Checks if a table contains a given value, specified either directly or via a predicate that is checked for each value. |