neovim/test/functional/plugin
Lewis Russell 7121983c45 refactor(man.lua): various changes
- Replace all uses of vim.regex with simpler Lua patterns.
- Replace all uses of vim.fn.substitute with string.gsub.
- Rework error handling so expected errors are passed back via a return.
  - These get routed up an passed to `vim.notify()`
  - Any other errors will cause a stack trace.
- Reworked the module initialization of `localfile_arg`
- Updated all type annotations.
- Refactored CLI completion by introduction a parse_cmdline()
  function.
- Simplified `show_toc()`
- Refactor highlighting
- Inline some functions
- Fix completion on MacOS 13 and earlier.
  - Prefer `manpath -q` over `man -w`
- Make completion more efficient by avoiding vim.fn.sort and vim.fn.uniq
  - Reimplement using a single loop
2024-12-18 14:40:36 +00:00
..
lsp fix(lsp): reuse client if configs match and no root dir 2024-12-13 14:36:24 +00:00
ccomplete_spec.lua test: improve test conventions 2024-04-23 18:17:04 +02:00
cfilter_spec.lua test: improve test conventions 2024-04-23 18:17:04 +02:00
editorconfig_spec.lua test: support upvalues in exec_lua 2024-09-21 16:04:09 +01:00
health_spec.lua fix(tests): needing two calls to setup a screen is cringe 2024-11-14 12:40:57 +01:00
lsp_spec.lua fix(lsp): vim.lsp.start fails if existing client has no workspace_folders #31608 2024-12-18 06:37:12 -08:00
man_spec.lua refactor(man.lua): various changes 2024-12-18 14:40:36 +00:00
matchparen_spec.lua fix(tests): needing two calls to setup a screen is cringe 2024-11-14 12:40:57 +01:00
msgpack_spec.lua refactor(typval)!: remove distinction of binary and nonbinary strings 2024-06-27 11:04:04 +02:00
shada_spec.lua fix(tests): needing two calls to setup a screen is cringe 2024-11-14 12:40:57 +01:00
tohtml_spec.lua fix(tests): needing two calls to setup a screen is cringe 2024-11-14 12:40:57 +01:00
tutor_spec.lua fix(tests): needing two calls to setup a screen is cringe 2024-11-14 12:40:57 +01:00
vim_syntax_spec.lua fix(tests): needing two calls to setup a screen is cringe 2024-11-14 12:40:57 +01:00