Skip to content

Commit 711f52a

Browse files
chore: autoformat with stylua
1 parent 5e9e76f commit 711f52a

File tree

1 file changed

+7
-5
lines changed

1 file changed

+7
-5
lines changed

lua/rest-nvim/utils.lua

+7-5
Original file line numberDiff line numberDiff line change
@@ -297,11 +297,13 @@ function utils.gq_lines(lines, filetype)
297297
local formatprg = vim.bo[format_buf].formatprg
298298
if formatexpr:match("^v:lua%.vim%.lsp%.formatexpr%(.*%)$") then
299299
local clients_count = #vim.lsp.get_clients({ bufnr = format_buf })
300-
logger.warn(("formatexpr is set to `%s` but %d clients are attached to the buffer %d."):format(
301-
formatexpr,
302-
clients_count,
303-
format_buf
304-
))
300+
logger.warn(
301+
("formatexpr is set to `%s` but %d clients are attached to the buffer %d."):format(
302+
formatexpr,
303+
clients_count,
304+
format_buf
305+
)
306+
)
305307
logger.warn("Skipping lsp formatexpr")
306308
formatexpr = ""
307309
end

0 commit comments

Comments
 (0)