From 12c62debf63c85a19691998f1246060d441bbf64 Mon Sep 17 00:00:00 2001 From: mrdandelion6 Date: Sat, 8 Feb 2025 22:02:23 -0500 Subject: [PATCH] updated health to use new nvim health api --- lua/jupytext/health.lua | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/lua/jupytext/health.lua b/lua/jupytext/health.lua index 7a8f45d..6529356 100644 --- a/lua/jupytext/health.lua +++ b/lua/jupytext/health.lua @@ -1,13 +1,13 @@ local M = {} M.check = function() - vim.health.report_start "jupytext.nvim" + vim.health.start "jupytext.nvim" vim.fn.system "jupytext --version" if vim.v.shell_error == 0 then - vim.health.report_ok "Jupytext is available" + vim.health.ok "Jupytext is available" else - vim.health.report_error("Jupytext is not available", "Install jupytext via `pip install jupytext`") + vim.health.error("Jupytext is not available", "Install jupytext via `pip install jupytext`") end end