diff options
| author | dundargoc <33953936+dundargoc@users.noreply.github.com> | 2023-04-15 23:40:48 +0200 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2023-04-15 23:40:48 +0200 |
| commit | c08b03076167837cff9eb66c19440d727e6dad31 (patch) | |
| tree | bd99b63144c76361c5cec45715397d15bfdc935f /test/functional/fixtures/lua/test_plug/submodule_failed | |
| parent | c8667c8756a211b8597e2e0a80200498b752915d (diff) | |
| download | rneovim-c08b03076167837cff9eb66c19440d727e6dad31.tar.gz rneovim-c08b03076167837cff9eb66c19440d727e6dad31.tar.bz2 rneovim-c08b03076167837cff9eb66c19440d727e6dad31.zip | |
refactor: deprecate checkhealth functions
The following functions are deprecated and will be removed in
Nvim v0.11:
- health#report_start()
- health#report_info()
- health#report_ok()
- health#report_warn()
- health#report_error()
- vim.health.report_start()
- vim.health.report_info()
- vim.health.report_ok()
- vim.health.report_warn()
- vim.health.report_error()
Users should instead use these:
- vim.health.start()
- vim.health.info()
- vim.health.ok()
- vim.health.warn()
- vim.health.error()
Diffstat (limited to 'test/functional/fixtures/lua/test_plug/submodule_failed')
| -rw-r--r-- | test/functional/fixtures/lua/test_plug/submodule_failed/health.lua | 11 |
1 files changed, 0 insertions, 11 deletions
diff --git a/test/functional/fixtures/lua/test_plug/submodule_failed/health.lua b/test/functional/fixtures/lua/test_plug/submodule_failed/health.lua deleted file mode 100644 index ee5f4e404b..0000000000 --- a/test/functional/fixtures/lua/test_plug/submodule_failed/health.lua +++ /dev/null @@ -1,11 +0,0 @@ -local M = {} - -M.check = function() - vim.health.report_start("report 1") - vim.health.report_ok("everything is fine") - vim.health.report_warn("About to add a number to nil") - local a = nil + 2 - return a -end - -return M |