neovim/test/functional/plugin/lsp
Justin M. Keyes f1dfe32bf5
feat(lua): enable(enable:boolean, filter:table) #28374
Problem:
We need to establish a pattern for `enable()`.

Solution:
- First `enable()` parameter is always `enable:boolean`.
- Update `vim.diagnostic.enable()`
- Update `vim.lsp.inlay_hint.enable()`.
    - It was not released yet, so no deprecation is needed. But to help
      HEAD users, it will show an informative error.
- vim.deprecate():
    - Improve message when the "removal version" is a *current or older* version.
2024-04-18 07:57:58 -07:00
..
codelens_spec.lua refactor(test): inject after_each differently 2024-04-10 15:53:50 +01:00
completion_spec.lua refactor(test): inject after_each differently 2024-04-10 15:53:50 +01:00
diagnostic_spec.lua refactor(test): inject after_each differently 2024-04-10 15:53:50 +01:00
handler_spec.lua refactor(test): inject after_each differently 2024-04-10 15:53:50 +01:00
incremental_sync_spec.lua refactor(test): inject after_each differently 2024-04-10 15:53:50 +01:00
inlay_hint_spec.lua feat(lua): enable(enable:boolean, filter:table) #28374 2024-04-18 07:57:58 -07:00
semantic_tokens_spec.lua refactor(test): inject after_each differently 2024-04-10 15:53:50 +01:00
snippet_spec.lua refactor(test): inject after_each differently 2024-04-10 15:53:50 +01:00
testutil.lua test: remove unnecessary nil argument to testutil (#28270) 2024-04-11 08:51:06 +08:00
utils_spec.lua refactor(test): inject after_each differently 2024-04-10 15:53:50 +01:00