fix: run stylua on all files
This commit is contained in:
@@ -29,7 +29,7 @@ return {
|
||||
hint = {
|
||||
enable = false,
|
||||
},
|
||||
}
|
||||
},
|
||||
},
|
||||
on_attach = function(_, bufnr)
|
||||
local util = require("util")
|
||||
|
||||
@@ -15,8 +15,7 @@ function RefreshTask.new(session)
|
||||
session = session,
|
||||
aborted = false,
|
||||
cancels = {},
|
||||
},
|
||||
RefreshTask)
|
||||
}, RefreshTask)
|
||||
end
|
||||
|
||||
---@param cancel fun()
|
||||
@@ -48,7 +47,9 @@ function RefreshTask:resolve(client, lens, row)
|
||||
end
|
||||
if err then
|
||||
log.warning(
|
||||
"client %d: %s failed: %s", client.id, ctx.method,
|
||||
"client %d: %s failed: %s",
|
||||
client.id,
|
||||
ctx.method,
|
||||
err.message
|
||||
)
|
||||
end
|
||||
@@ -91,7 +92,9 @@ function RefreshTask:process_results(results)
|
||||
for client_id, result in pairs(results) do
|
||||
if result.err then
|
||||
log.warning(
|
||||
"client %d: %s failed: %s", client_id, result.context.method,
|
||||
"client %d: %s failed: %s",
|
||||
client_id,
|
||||
result.context.method,
|
||||
result.err.message
|
||||
)
|
||||
end
|
||||
|
||||
Reference in New Issue
Block a user