We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 5e9e76f commit 711f52aCopy full SHA for 711f52a
lua/rest-nvim/utils.lua
@@ -297,11 +297,13 @@ function utils.gq_lines(lines, filetype)
297
local formatprg = vim.bo[format_buf].formatprg
298
if formatexpr:match("^v:lua%.vim%.lsp%.formatexpr%(.*%)$") then
299
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
- ))
+ logger.warn(
+ ("formatexpr is set to `%s` but %d clients are attached to the buffer %d."):format(
+ formatexpr,
+ clients_count,
+ format_buf
305
+ )
306
307
logger.warn("Skipping lsp formatexpr")
308
formatexpr = ""
309
end
0 commit comments