From 695295069a3aac0cf9a1b768589216c5b837b6f1 Mon Sep 17 00:00:00 2001 From: bpatel347 Date: Mon, 12 May 2025 18:03:26 -0400 Subject: [PATCH] fix: Update deprecated health checks for vim.health --- 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..a02bec8 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