Use job wrapper for INFO call
This commit is contained in:
@@ -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)
|
||||
|
||||
Reference in New Issue
Block a user