neovim/test/functional/lua
Gregory Anders 8ba73f0e4c
feat(diagnostic): add vim.diagnostic.jump() (#26745)
Deprecate vim.diagnostic.goto_prev() and vim.diagnostic.goto_next() in
favor of a unified vim.diagnostic.jump() interface.

We cannot name the function "goto()" because some of our tooling
(luacheck and stylua) fail to parse it, presumably because "goto" is a
keyword in newer versions of Lua.

vim.diagnostic.jump() also allows moving to a specific diagnostic and
moving by multiple diagnostics at a time (useful for creating mappings
that use v:count).
2024-05-28 08:51:44 -05:00
..
api_spec.lua test: improve test conventions 2024-04-23 18:17:04 +02:00
base64_spec.lua test: improve test conventions 2024-04-23 18:17:04 +02:00
buffer_updates_spec.lua test: improve test conventions 2024-04-23 18:17:04 +02:00
command_line_completion_spec.lua test: improve test conventions 2024-04-23 18:17:04 +02:00
commands_spec.lua test: improve test conventions 2024-04-23 18:17:04 +02:00
comment_spec.lua fix(comment): fall back to using trimmed comment markers (#28938) 2024-05-23 15:30:53 -05:00
diagnostic_spec.lua feat(diagnostic): add vim.diagnostic.jump() (#26745) 2024-05-28 08:51:44 -05:00
ffi_spec.lua test: improve test conventions 2024-04-23 18:17:04 +02:00
filetype_spec.lua test: improve test conventions 2024-04-23 18:17:04 +02:00
fs_spec.lua fix(fs): make vim.fs.root work for relative paths and unnamed buffers (#28964) 2024-05-24 10:48:32 -05:00
glob_spec.lua test: improve test conventions 2024-04-23 18:17:04 +02:00
highlight_spec.lua refactor(lua): rewrite vim.highlight.range() (#28986) 2024-05-25 20:37:33 +08:00
inspector_spec.lua test: improve test conventions 2024-04-23 18:17:04 +02:00
iter_spec.lua fix(vim.iter): enable optimizations for arrays (lists with holes) (#28781) 2024-05-17 14:17:25 -05:00
json_spec.lua fix(vim.json): properly treat luanil options as booleans (#28622) 2024-05-03 19:26:56 +08:00
loader_spec.lua test: improve test conventions 2024-04-23 18:17:04 +02:00
loop_spec.lua fix(lua): vim.fn.has('nvim-0.10') in fast context, used by vim.deprecate 2024-04-25 08:37:18 +02:00
luaeval_spec.lua test: improve test conventions 2024-04-23 18:17:04 +02:00
mpack_spec.lua test: improve test conventions 2024-04-23 18:17:04 +02:00
overrides_spec.lua test: improve test conventions 2024-04-23 18:17:04 +02:00
runtime_spec.lua fix(runtime): source c ftplugin properly for cpp on Windows (#29053) 2024-05-28 06:39:07 +08:00
secure_spec.lua test: improve test conventions 2024-04-23 18:17:04 +02:00
snippet_spec.lua fix(lsp): redundant vim.snippet.jumpable #28560 2024-04-29 13:45:53 -07:00
spell_spec.lua test: improve test conventions 2024-04-23 18:17:04 +02:00
system_spec.lua test: improve test conventions 2024-04-23 18:17:04 +02:00
text_spec.lua test: improve test conventions 2024-04-23 18:17:04 +02:00
thread_spec.lua test: improve test conventions 2024-04-23 18:17:04 +02:00
ui_event_spec.lua fix(ui): flush ext_cmdline events before doing cmdpreview #27950 2024-05-28 02:43:56 -07:00
ui_spec.lua fix(vim.ui)!: change open() to return result|nil, errmsg|nil #28612 2024-05-03 03:20:03 -07:00
uri_spec.lua test: improve test conventions 2024-04-23 18:17:04 +02:00
version_spec.lua test: improve test conventions 2024-04-23 18:17:04 +02:00
vim_spec.lua perf: add fast path to vim.validate (#28977) 2024-05-27 08:08:23 -05:00
watch_spec.lua test: improve test conventions 2024-04-23 18:17:04 +02:00
xdiff_spec.lua test: improve test conventions 2024-04-23 18:17:04 +02:00