neovim/test/functional/lua
Justin M. Keyes a40eb7cc99 feat(vim.version): more coercion with strict=false
Problem:
"tmux 3.2a" (output from "tmux -V") is not parsed easily.

Solution:
With `strict=false`, discard everything before the first digit.

- rename Semver => Version
- rename vim.version.version() => vim.version._version()
- rename matches() => has()
- remove `opts` from cmp()
2023-03-20 13:40:38 +01:00
..
api_spec.lua refactor(api): VALIDATE macros #22256 2023-02-14 05:07:38 -08:00
buffer_updates_spec.lua fix(diff): trigger on_bytes only once after diffget/diffput 2023-03-11 18:22:00 +09:00
command_line_completion_spec.lua feat(lua): omnifunc for builting lua interpreter 2023-03-06 23:12:21 +01:00
commands_spec.lua refactor!: rename vim.pretty_print => vim.print 2023-03-13 01:25:09 +01:00
diagnostic_spec.lua feat(diagnostic): vim.diagnostic.is_disabled() #21527 2023-01-12 08:57:39 -08:00
ffi_spec.lua feat(ui): add 'statuscolumn' option 2023-01-09 17:12:06 +00:00
filetype_spec.lua feat: add vim.filetype.get_option() 2023-03-20 10:06:32 +00:00
fs_spec.lua test: don't search entire repo for files 2023-03-05 11:21:37 +01:00
help_spec.lua test(help): drop treesitter parse error to 0 2023-02-23 10:24:15 +01:00
highlight_spec.lua fix(lua): highlight.on_yank can close timer in twice #18976 2022-06-15 19:39:55 -07:00
inspector_spec.lua feat: vim.inspect_pos, vim.show_pos, :Inspect 2022-12-17 13:05:31 +01: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 feat(lua): make sure require'bit' always works, even with PUC lua 5.1 2023-02-22 22:15:19 +01:00
runtime_spec.lua fix(spell): properly source spell/LANG.{vim,lua} (#22716) 2023-03-18 09:55:08 +08:00
secure_spec.lua test: make {MATCH:} behave less unexpectedly in screen:expect() 2023-02-18 10:44:35 +08:00
spell_spec.lua feat(test): add Lua forms for API methods (#20152) 2022-11-14 10:01:35 +00:00
thread_spec.lua feat(test): add Lua forms for API methods (#20152) 2022-11-14 10:01:35 +00:00
ui_event_spec.lua test: make expect_unchanged() less confusing (#22255) 2023-02-15 07:26:55 +08:00
ui_spec.lua test(lua/ui_spec): fix Ctrl-C test flakiness (#21039) 2022-11-13 08:16:06 +08:00
uri_spec.lua test: simplify platform detection (#21020) 2022-11-22 08:13:30 +08:00
version_spec.lua feat(vim.version): more coercion with strict=false 2023-03-20 13:40:38 +01:00
vim_spec.lua fix(lua): vim.deprecate() shows ":help deprecated" #22677 2023-03-15 05:56:13 -07:00
watch_spec.lua feat(lsp): implement workspace/didChangeWatchedFiles (#22405) 2023-03-05 07:52:27 +01:00
xdiff_spec.lua feat(test): add Lua forms for API methods (#20152) 2022-11-14 10:01:35 +00:00