Use job wrapper for INFO call

This commit is contained in:
Harrison Cramer
2023-08-06 14:56:00 -04:00
parent 4f0d4b49ef
commit 68f27e5dc1
4 changed files with 15 additions and 31 deletions

View File

@@ -28,7 +28,7 @@ M.run_job = function(endpoint, method, body, callback)
vim.notify(message, vim.log.levels.INFO)
else
local message = string.format("%s: %s", data.message, data.details)
vim.notify(message, vim.log.levels.DEBUG)
vim.notify(message, vim.log.levels.ERROR)
end
else
vim.notify("Could not parse command output!", vim.log.levels.ERROR)