neovim/test/functional
Amit Singh 970a27927e
fix(lua)!: do not use typed table for empty dict
Problem:
Empty dictionaries are converted into typed tables of the form `{ [true]
= 6}` instead of an empty dictionary representation `{}`. This leads to
incorrect table representation, along with failure in JSON encoding of
such tables as currently tables with only string and number type keys
can be encoded.

Solution:
The typed table logic has been removed from `nlua_push_Dictionary`. The
typed table logic is required only for float value conversions which is
already handled in `nlua_push_Float`. So, it is(was) no longer required
here.

Fixes neovim/neovim#29218
2024-07-13 16:42:28 +05:30
..
api fix(lua)!: do not use typed table for empty dict 2024-07-13 16:42:28 +05:30
autocmd refactor: use vim._with where possible 2024-06-28 19:58:31 +02:00
core fix(filetype): source ftdetect/* after creating scripts.vim autocmds (#29445) 2024-06-22 21:17:36 +08:00
editor fix(input): handle vim.on_key() properly with ALT and K_SPECIAL (#29677) 2024-07-13 04:14:29 +08:00
ex_cmds fix(quickfix): make shortmess+=O work with cmdheight=0 (#29609) 2024-07-08 10:36:41 +08:00
fixtures feat(lsp): vim.lsp.buf.format() supports textDocument/rangesFormatting #27323 2024-06-24 07:54:56 -07:00
legacy vim-patch:9.1.0414: Unable to leave long line with 'smoothscroll' and 'scrolloff' 2024-05-17 20:28:14 +02:00
lua fix(lua)!: do not use typed table for empty dict 2024-07-13 16:42:28 +05:30
options test: improve test conventions 2024-04-23 18:17:04 +02:00
plugin feat(lsp): drop fswatch, use inotifywait (#29374) 2024-07-06 11:44:19 +02:00
provider test: improve test conventions 2024-04-23 18:17:04 +02:00
script fix(luacats): allow all types inside tuples 2024-06-01 12:56:43 +01:00
shada refactor(shada): remove ShaDaReadDef secondary wrapper 2024-05-28 13:36:54 +02:00
terminal feat(column)!: rework 'statuscolumn' %r/l items 2024-06-16 19:04:34 +02:00
treesitter build(deps): drop unused bundled bash, python parsers and queries 2024-07-09 15:26:48 +02:00
ui vim-patch:9.1.0538: not possible to assign priority when defining a sign (#29592) 2024-07-07 07:21:14 +08:00
vimscript refactor: add assertion for v_blob in tv_ptr() (#29554) 2024-07-04 09:54:51 +08:00
example_spec.lua test: improve test conventions 2024-04-23 18:17:04 +02:00
preload.lua test: improve test conventions 2024-04-23 18:17:04 +02:00
testnvim.lua Merge pull request #29103 from gpanders/test-no-tgc 2024-06-12 19:31:15 -05:00