From 72a652c84e5fad09550e42f58868fe69fc729e24 Mon Sep 17 00:00:00 2001 From: Idril Geer <11999978+idrilirdi@users.noreply.github.com> Date: Thu, 24 Apr 2025 17:44:48 +0200 Subject: [PATCH] fix: don't use deprecated nvim_err_writeln --- lua/jupytext/commands.lua | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lua/jupytext/commands.lua b/lua/jupytext/commands.lua index b445e63..e825237 100644 --- a/lua/jupytext/commands.lua +++ b/lua/jupytext/commands.lua @@ -15,7 +15,7 @@ M.run_jupytext_command = function(input_file, options) if vim.v.shell_error ~= 0 then print(output) - vim.api.nvim_err_writeln(cmd .. ": " .. vim.v.shell_error) + vim.api.nvim_echo(cmd .. ": " .. vim.v.shell_error, true, { err = true }) return end end