mirror of
https://github.com/neovim/neovim.git
synced 2024-12-20 11:15:14 -07:00
4d04feb662
* feat(lua): vim.tbl_contains supports general tables and predicates Problem: `vim.tbl_contains` only works for list-like tables (integer keys without gaps) and primitive values (in particular, not for nested tables). Solution: Rename `vim.tbl_contains` to `vim.list_contains` and add new `vim.tbl_contains` that works for general tables and optionally allows `value` to be a predicate function that is checked for every key. |
||
---|---|---|
.. | ||
health.lua |