neovim/test/functional/lua
NAKAI Tsuyoshi 4573cfa3ad
fix(lua): pesc, tbl_islist result types #20751
Problem:
- pesc() returns multiple results, it should return a single result.
- tbl_islist() returns non-boolean in some branches.
- Docstring: @generic must be declared first

Solution:
Constrain docstring annotations.
Fix return types.

Co-authored-by: Justin M. Keyes <justinkz@gmail.com>
2022-10-24 05:53:53 -07:00
..
api_spec.lua docs: fix typos (#20394) 2022-09-30 09:53:52 +02:00
buffer_updates_spec.lua docs: fix typos (#20394) 2022-09-30 09:53:52 +02:00
command_line_completion_spec.lua feat(lua): handle lazy submodules in :lua vim. wildmenu completion 2022-03-09 15:25:06 +01:00
commands_spec.lua fix(lua): print multiple return values with =expr (#16933) 2022-01-06 11:42:31 -07:00
diagnostic_spec.lua feat(diagnostic): pass diagnostics as data to DiagnosticChanged autocmd (#20173) 2022-09-13 08:33:39 -06:00
ffi_spec.lua fix(build): export symbols on Windows 2021-10-17 18:49:55 +06:00
filetype_spec.lua fix(filetype): use :setf instead of nvim_buf_set_option (#20334) 2022-09-25 16:29:25 +02:00
fs_spec.lua feat(fs): extend fs.find to accept predicate (#20193) 2022-09-13 14:16:20 -06:00
help_spec.lua docs: update vimdoc parser #20747 2022-10-20 06:20:02 -07:00
highlight_spec.lua fix(lua): highlight.on_yank can close timer in twice #18976 2022-06-15 19:39:55 -07:00
json_spec.lua test: add tests for vim.json 2021-09-26 11:52:17 -07:00
loop_spec.lua feat(lua): enable stack traces in error output (#16228) 2021-11-06 08:26:10 -06:00
luaeval_spec.lua fix(eval): check for v:lua when calling callback (#19855) 2022-08-20 15:52:35 +08:00
mpack_spec.lua fix(vim.mpack): rename pack/unpack => encode/decode #16175 2021-10-30 06:59:59 -07:00
overrides_spec.lua fix(tests): remove irrelevant usage of display-=msgsep 2022-08-17 23:44:49 +02:00
runtime_spec.lua refactor(tests): Simplify tests at functional/lua/runtime_spec 2021-06-11 01:01:03 +06:00
spell_spec.lua feat(lua): add vim.spell (#16620) 2021-12-25 12:36:56 -07:00
thread_spec.lua refactor(lua): reorganize builtin modules, phase 1 2022-03-03 20:03:30 +01:00
ui_event_spec.lua fix(lua): free vim.ui_attach callback before lua close (#20205) 2022-09-16 11:06:37 +02:00
ui_spec.lua fix(vim.ui.input): accept nil or empty "opts" #19109 2022-06-28 02:53:15 -07:00
uri_spec.lua docs: fix typos (#20394) 2022-09-30 09:53:52 +02:00
vim_spec.lua fix(lua): pesc, tbl_islist result types #20751 2022-10-24 05:53:53 -07:00
xdiff_spec.lua fix(diff): make algorithm work for vim.diff (#17300) 2022-02-05 09:49:48 -08:00