diff options
author | Steven Arcangeli <stevearc@stevearc.com> | 2023-10-08 22:55:07 -0700 |
---|---|---|
committer | Steven Arcangeli <stevearc@stevearc.com> | 2023-10-08 22:56:47 -0700 |
commit | d76366d593dd92d52714e6de0ff28217abedb3d3 (patch) | |
tree | 02babb943963b8e75a0e891385330332815eb8d7 /lua/conform/lsp_format.lua | |
parent | ca8edde0f4648da8d80f356e358ddc9e1330c883 (diff) |
ci: use stylua 0.18.2
Diffstat (limited to 'lua/conform/lsp_format.lua')
-rw-r--r-- | lua/conform/lsp_format.lua | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/lua/conform/lsp_format.lua b/lua/conform/lsp_format.lua index f952ab9..089bde2 100644 --- a/lua/conform/lsp_format.lua +++ b/lua/conform/lsp_format.lua @@ -92,8 +92,7 @@ function M.format(options, callback) elseif not vim.api.nvim_buf_is_valid(bufnr) then return callback("buffer was deleted") elseif changedtick ~= require("conform.util").buf_get_changedtick(bufnr) then - return - callback( + return callback( string.format( "Async LSP formatter discarding changes for %s: concurrent modification", vim.api.nvim_buf_get_name(bufnr) |