neovim/test/functional
Justin M. Keyes 09b3432eaf
fix(api): allow empty Lua table for nested dicts #22268
Problem:
The Lua-API bridge allows Dict params to be empty Lua (list) tables at
the function-signature level. But not for _nested_ Dicts, because they
are not modeled:
fae7540732/src/nvim/api/keysets.lua (L184)
Some API functions like nvim_cmd check for kObjectTypeDictionary and
don't handle the case of empty Lua tables (treated as "Array").

Solution:
Introduce VALIDATE_T_DICT and use it in places where
kObjectTypeDictionary was being checked directly.

fixes #21005
2023-02-16 07:07:18 -08:00
..
api fix(api): allow empty Lua table for nested dicts #22268 2023-02-16 07:07:18 -08:00
autocmd fix(api): don't allow hiding aucmd_win from another tabpage (#21975) 2023-01-24 15:39:43 +08:00
core test(exit_spec): make sure that autocommands are triggered (#22188) 2023-02-09 19:48:17 +08:00
editor fix(completion): correct what modes support fuzzy completion 2023-01-17 15:55:58 +08:00
ex_cmds fix(rpc)!: preseve files when stdio channel is closed (#22137) 2023-02-11 18:25:01 +08:00
fixtures fix(tests): use -l mode for lsp tests 2023-01-31 13:15:23 +01:00
legacy vim-patch:9.0.1309: scrolling two lines with even line count and 'scrolloff' set 2023-02-16 08:09:41 +08:00
lua test: make expect_unchanged() less confusing (#22255) 2023-02-15 07:26:55 +08:00
options feat: $NVIM_APPNAME #22128 2023-02-16 04:15:02 -08:00
plugin fix(man): use italics for <bs>_ (#22086) 2023-02-01 17:21:42 +00:00
provider fix(clipboard): show provider warning when not during batch changes #21451 2023-01-03 15:17:54 -08:00
shada fix(rpc)!: preseve files when stdio channel is closed (#22137) 2023-02-11 18:25:01 +08:00
terminal fix(tui): exit on input eof 2023-02-14 07:49:31 +08:00
treesitter fix(treesitter): don't trample parsers when filetype!=lang 2023-02-10 16:15:56 +00:00
ui test: make expect_unchanged() less confusing (#22255) 2023-02-15 07:26:55 +08:00
vimscript test: make expect_unchanged() less confusing (#22255) 2023-02-15 07:26:55 +08:00
example_spec.lua screen.lua: remove screen:_on_event #11488 2019-12-01 01:06:10 -08:00
helpers.lua refactor(tests): move lua-client into core and use it for functionaltests 2023-02-10 20:19:04 +01:00
preload.lua test: remove unused variable (#21552) 2022-12-29 07:20:42 +08:00