ITADN

`vim.health.report_{start,info,ok}()` is deprecated

#137ClosedMithicSpirit 创建于 2024-05-18
M
MithicSpiritcommented
In Neovim 0.10, `:checkhealth hotpot` outputs the following. ``` ============================================================================== hotpot: require("hotpot.health").check() - WARNING vim.health.report_start() is deprecated, use vim.health.start() instead. :help |deprecated| Feature will be removed in Nvim 0.11 Hotpot Cache Data ~ - WARNING vim.health.report_info() is deprecated, use vim.health.info() instead. :help |deprecated| Feature will be removed in Nvim 0.11 - Cache root path: /home/mithic/.cache/nvim/hotpot - Cache size: 49 files, 62kb Hotpot Log ~ - Log path: /home/mithic/.local/state/nvim/hotpot.log - Log size: 0 Hotpot Module Searcher ~ - WARNING vim.health.report_ok() is deprecated, use vim.health.ok() instead. :help |deprecated| Feature will be removed in Nvim 0.11 - OK package.loader index: 2 ```
关闭于 2024-05-19 1 条评论