Files
neovim/runtime
Christian Clason 4d04feb662 feat(lua): vim.tbl_contains supports general tables and predicates (#23040)
* 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.
2023-04-14 10:39:57 +02:00
..
2023-04-11 19:10:36 +02:00
2022-12-08 16:33:38 +01:00
2021-09-13 16:33:41 +02:00
2021-05-01 22:29:03 -04:00
2023-04-12 00:01:34 +02:00
2022-08-20 10:04:55 +02:00
2021-04-27 09:21:32 -04:00
2023-01-03 10:07:43 +00:00
2023-04-13 12:15:30 +02:00
2023-04-07 13:26:29 +02:00
2022-10-17 08:19:48 +02:00