refactor: format diagnostic.lua (#16540)

This commit is contained in:
Gregory Anders 2021-12-05 19:42:31 -07:00 committed by GitHub
parent 62f0157853
commit 4306b395de
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -1336,7 +1336,10 @@ function M.reset(namespace, bufnr)
end end
vim.api.nvim_command( vim.api.nvim_command(
string.format("doautocmd <nomodeline> DiagnosticChanged %s", vim.fn.fnameescape(vim.api.nvim_buf_get_name(bufnr))) string.format(
"doautocmd <nomodeline> DiagnosticChanged %s",
vim.fn.fnameescape(vim.api.nvim_buf_get_name(bufnr))
)
) )
end end