diff options
Diffstat (limited to 'lua/conform')
-rw-r--r-- | lua/conform/lsp_format.lua | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/lua/conform/lsp_format.lua b/lua/conform/lsp_format.lua index 17d835f..f952ab9 100644 --- a/lua/conform/lsp_format.lua +++ b/lua/conform/lsp_format.lua @@ -91,7 +91,7 @@ function M.format(options, callback) return callback(err or "No result returned from LSP formatter") elseif not vim.api.nvim_buf_is_valid(bufnr) then return callback("buffer was deleted") - elseif changedtick ~= util.buf_get_changedtick(bufnr) then + elseif changedtick ~= require("conform.util").buf_get_changedtick(bufnr) then return callback( string.format( |