From b8af03f5f07c0c43910c587d8161b320839786d6 Mon Sep 17 00:00:00 2001 From: marshmallow Date: Mon, 26 Jun 2023 00:27:05 +1000 Subject: [PATCH] print cmd output in debug --- lua/orgmode-babel/init.lua | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/lua/orgmode-babel/init.lua b/lua/orgmode-babel/init.lua index fcf29fa..c8ab345 100644 --- a/lua/orgmode-babel/init.lua +++ b/lua/orgmode-babel/init.lua @@ -253,7 +253,7 @@ vim.api.nvim_create_user_command("OrgExecute", function(el) local output = vim.fn.system(cmd) - vim.print(output) + vim.notify(output, vim.log.levels.DEBUG) if not vim.bo[bufnr].modified then vim.cmd(bufnr .. "bufdo edit") @@ -355,7 +355,7 @@ vim.api.nvim_create_user_command("OrgTangle", function(el) local output = vim.fn.system(cmd) - vim.print(output) + vim.notify(output, vim.log.levels.DEBUG) end, { range = "%", bang = true,