From fe8e6a7efa33dc9ea1c57aa3f65be9469f05f287 Mon Sep 17 00:00:00 2001 From: altermo <107814000+altermo@users.noreply.github.com> Date: Sat, 1 Aug 2026 18:03:15 +0200 Subject: [PATCH] test(lsp-selection): of by one The test uses the position col=5,row=5; but such a position is outside of the buffer. Presume that it was meant to be col=5,row=4... --- test/functional/plugin/lsp/selection_range_spec.lua | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/test/functional/plugin/lsp/selection_range_spec.lua b/test/functional/plugin/lsp/selection_range_spec.lua index 04a354ce56..e9989aaa24 100644 --- a/test/functional/plugin/lsp/selection_range_spec.lua +++ b/test/functional/plugin/lsp/selection_range_spec.lua @@ -48,7 +48,7 @@ describe('vim.lsp.selection_range', function() parent = { range = { start = { line = 0, character = 0 }, - ['end'] = { line = 5, character = 5 }, + ['end'] = { line = 4, character = 5 }, }, parent = nil, },