Merge #39822 from ofseed/pos-mark

feat(pos,range): pos:to_mark(), pos.mark(), range:to_mark(), range.mark()
This commit is contained in:
Justin M. Keyes
2026-05-18 10:45:21 -04:00
committed by GitHub
9 changed files with 181 additions and 43 deletions

View File

@@ -1456,7 +1456,7 @@ describe('vim.lsp.buf', function()
eq('textDocument/rangeFormatting', result[3].method)
local expected_range = {
start = { line = 0, character = 0 },
['end'] = { line = 1, character = 4 },
['end'] = { line = 2, character = 0 },
}
eq(expected_range, result[3].params.range)
end)