reduce neovim version requirement
This commit is contained in:
parent
0c1f19ca40
commit
24174247f7
3 changed files with 6 additions and 6 deletions
|
|
@ -248,9 +248,9 @@ vim.api.nvim_create_user_command("OrgExecute", function(el)
|
|||
|
||||
-- vim.notify(cmd, vim.log.levels.DEBUG)
|
||||
|
||||
local ouput = vim.system(cmd):wait()
|
||||
local output = vim.fn.system(cmd)
|
||||
|
||||
vim.print(ouput.stdout, ouput.stderr)
|
||||
vim.print(output)
|
||||
|
||||
if not vim.bo[bufnr].modified then
|
||||
vim.cmd(bufnr .. "bufdo edit")
|
||||
|
|
@ -350,9 +350,9 @@ vim.api.nvim_create_user_command("OrgTangle", function(el)
|
|||
|
||||
-- vim.notify(cmd, vim.log.levels.DEBUG)
|
||||
|
||||
local ouput = vim.system(cmd):wait()
|
||||
local output = vim.fn.system(cmd)
|
||||
|
||||
vim.print(ouput.stdout, ouput.stderr)
|
||||
vim.print(output)
|
||||
end, {
|
||||
range = "%",
|
||||
bang = true,
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue