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 | |
| 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')
| -rw-r--r-- | test/functional/fixtures/lua/test_plug/submodule/health.lua | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/test/functional/fixtures/lua/test_plug/submodule/health.lua b/test/functional/fixtures/lua/test_plug/submodule/health.lua index 58162d4515..ef0c5ae3cd 100644 --- a/test/functional/fixtures/lua/test_plug/submodule/health.lua +++ b/test/functional/fixtures/lua/test_plug/submodule/health.lua @@ -1,10 +1,10 @@ local M = {} M.check = function() - vim.health.report_start("report 1") - vim.health.report_ok("everything is fine") - vim.health.report_start("report 2") - vim.health.report_ok("nothing to see here") + vim.health.start('report 1') + vim.health.ok('everything is fine') + vim.health.start('report 2') + vim.health.ok('nothing to see here') end return M |