print cmd output in debug
This commit is contained in:
parent
406dd086a4
commit
b8af03f5f0
1 changed files with 2 additions and 2 deletions
|
|
@ -253,7 +253,7 @@ vim.api.nvim_create_user_command("OrgExecute", function(el)
|
||||||
|
|
||||||
local output = vim.fn.system(cmd)
|
local output = vim.fn.system(cmd)
|
||||||
|
|
||||||
vim.print(output)
|
vim.notify(output, vim.log.levels.DEBUG)
|
||||||
|
|
||||||
if not vim.bo[bufnr].modified then
|
if not vim.bo[bufnr].modified then
|
||||||
vim.cmd(bufnr .. "bufdo edit")
|
vim.cmd(bufnr .. "bufdo edit")
|
||||||
|
|
@ -355,7 +355,7 @@ vim.api.nvim_create_user_command("OrgTangle", function(el)
|
||||||
|
|
||||||
local output = vim.fn.system(cmd)
|
local output = vim.fn.system(cmd)
|
||||||
|
|
||||||
vim.print(output)
|
vim.notify(output, vim.log.levels.DEBUG)
|
||||||
end, {
|
end, {
|
||||||
range = "%",
|
range = "%",
|
||||||
bang = true,
|
bang = true,
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue