Skip to content

Commit 7bde64b

Browse files
chore: autoformat with stylua
1 parent 1eb44cd commit 7bde64b

File tree

1 file changed

+7
-5
lines changed

1 file changed

+7
-5
lines changed

lua/rest-nvim/config/check.lua

Lines changed: 7 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -22,11 +22,13 @@ local function compat_deprecated(cfg)
2222
local curl_statistics = cfg.clients.curl.statistics
2323
if not vim.islist(curl_statistics) then
2424
vim.deprecate("Map style `clients.curl.statistics` option", "List with `id` field", "4.0.0", "rest.nvim", false)
25-
local new_statistics = vim.iter(curl_statistics):map(function (id, style)
26-
style.id = id
27-
return style
28-
end):totable()
29-
table.sort(new_statistics, function (a, b)
25+
local new_statistics = vim.iter(curl_statistics)
26+
:map(function(id, style)
27+
style.id = id
28+
return style
29+
end)
30+
:totable()
31+
table.sort(new_statistics, function(a, b)
3032
return a.id < b.id
3133
end)
3234
---@diagnostic disable-next-line: inject-field

0 commit comments

Comments
 (0)