fix: address deprecations
This commit is contained in:
+1
-1
@@ -205,7 +205,7 @@ function Util.format(opts)
|
||||
local new_lines =
|
||||
vim.split(output:gsub("\r\n", "\n"), "\n", { plain = true })
|
||||
|
||||
local diff = vim.diff(
|
||||
local diff = vim.text.diff(
|
||||
table.concat(old_lines, "\n"),
|
||||
table.concat(new_lines, "\n"),
|
||||
{ result_type = "indices", algorithm = "histogram" }
|
||||
|
||||
Reference in New Issue
Block a user