diff options
author | dundargoc <gocdundar@gmail.com> | 2024-05-16 15:22:46 +0200 |
---|---|---|
committer | dundargoc <33953936+dundargoc@users.noreply.github.com> | 2024-05-16 18:30:59 +0200 |
commit | a664246171569209698c0b17b1d7af831f6603d2 (patch) | |
tree | 0c1f5389ff1f134eebf8177613cec219f56c560b /runtime/lua/vim/health.lua | |
parent | 4b029163345333a2c6975cd0dace6613b036ae47 (diff) | |
download | rneovim-a664246171569209698c0b17b1d7af831f6603d2.tar.gz rneovim-a664246171569209698c0b17b1d7af831f6603d2.tar.bz2 rneovim-a664246171569209698c0b17b1d7af831f6603d2.zip |
feat: remove deprecated features
Remove following functions:
- vim.lsp.util.extract_completion_items
- vim.lsp.util.get_progress_messages
- vim.lsp.util.parse_snippet()
- vim.lsp.util.text_document_completion_list_to_complete_items
- LanguageTree:for_each_child
- health#report_error
- health#report_info
- health#report_ok
- health#report_start
- health#report_warn
- vim.health.report_error
- vim.health.report_info
- vim.health.report_ok
- vim.health.report_start
- vim.health.report_warn
Diffstat (limited to 'runtime/lua/vim/health.lua')
-rw-r--r-- | runtime/lua/vim/health.lua | 47 |
1 files changed, 0 insertions, 47 deletions
diff --git a/runtime/lua/vim/health.lua b/runtime/lua/vim/health.lua index d72a32b541..69a53485a4 100644 --- a/runtime/lua/vim/health.lua +++ b/runtime/lua/vim/health.lua @@ -185,53 +185,6 @@ function M.error(msg, ...) collect_output(input) end ---- @param type string -local function deprecate(type) - local before = string.format('vim.health.report_%s()', type) - local after = string.format('vim.health.%s()', type) - local message = vim.deprecate(before, after, '0.11') - if message then - M.warn(message) - end - vim.cmd.redraw() - vim.print('Running healthchecks...') -end - ---- @deprecated ---- @param name string -function M.report_start(name) - deprecate('start') - M.start(name) -end - ---- @deprecated ---- @param msg string -function M.report_info(msg) - deprecate('info') - M.info(msg) -end - ---- @deprecated ---- @param msg string -function M.report_ok(msg) - deprecate('ok') - M.ok(msg) -end - ---- @deprecated ---- @param msg string -function M.report_warn(msg, ...) - deprecate('warn') - M.warn(msg, ...) -end - ---- @deprecated ---- @param msg string -function M.report_error(msg, ...) - deprecate('error') - M.error(msg, ...) -end - function M.provider_disabled(provider) local loaded_var = 'loaded_' .. provider .. '_provider' local v = vim.g[loaded_var] |