style(core.*, health.lua): better code style and backend strategy

This commit is contained in:
JuanZoran
2023-03-11 00:24:48 +08:00
parent 7fd7d1c309
commit 20fffe0ee5
12 changed files with 586 additions and 533 deletions

View File

@@ -56,6 +56,7 @@ curl.get = function(uri, opts)
end
end
-- vim.pretty_print(table.concat(cmd, ' '))
vim.fn.jobstart(table.concat(cmd, ' '), {
stdin = 'null',
on_stdout = on_stdout,