fix os.execute return
Some checks failed
build / build (nvim-min) (push) Has been cancelled

This commit is contained in:
iofq 2025-10-15 19:53:48 -05:00
parent 35b0e05965
commit ce017fd37c

View file

@ -35,7 +35,7 @@ vim.api.nvim_create_autocmd('FileType', {
group = vim.api.nvim_create_augroup('difftool', { clear = true }), group = vim.api.nvim_create_augroup('difftool', { clear = true }),
callback = function(event) callback = function(event)
local function exec(fmt, str) local function exec(fmt, str)
os.execute(string.format(fmt, str)) return os.execute(string.format(fmt, str))
end end
local function refresh() local function refresh()
local qf = vim.fn.getqflist() local qf = vim.fn.getqflist()