reduce neovim version requirement

This commit is contained in:
marshmallow 2023-06-25 17:02:05 +10:00
parent 0c1f19ca40
commit 24174247f7
No known key found for this signature in database
GPG key ID: 767B8880F5AAEB9C
3 changed files with 6 additions and 6 deletions

View file

@ -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,