Revert "lsp: Fix text edits with the same start position (#12434)" (#12564)

This reverts commit 44fe8828f0.
This commit is contained in:
Andreas Johansson
2020-07-30 19:37:19 +02:00
committed by GitHub
parent 54ff1cdd76
commit 82bfdbfe5c
2 changed files with 2 additions and 25 deletions

View File

@@ -92,7 +92,7 @@ local function sort_by_key(fn)
end
end
local edit_sort_key = sort_by_key(function(e)
return {e.A[1], e.A[2], -e.i}
return {e.A[1], e.A[2], e.i}
end)
--- Position is a https://microsoft.github.io/language-server-protocol/specifications/specification-current/#position