chore(lsp): notify format request failed once when there is no client (#2697)

This commit is contained in:
CPea 2022-06-23 12:59:30 +07:00 committed by GitHub
parent 0ee8b8f653
commit 16c0c86284
WARNING! Although there is a key with this ID in the database it does not verify this commit! This commit is SUSPICIOUS.
GPG key ID: 4AEE18F83AFDEB23

View file

@ -176,7 +176,7 @@ function M.format(opts)
end, clients)
if #clients == 0 then
vim.notify "[LSP] Format request failed, no matching language servers."
vim.notify_once "[LSP] Format request failed, no matching language servers."
end
local timeout_ms = opts.timeout_ms or 1000