We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 262ca27 commit 194acc0Copy full SHA for 194acc0
lua/copilot-lsp/util.lua
@@ -142,7 +142,7 @@ function M.hl_text_to_virt_lines(text, lang)
142
143
vim.iter(captures):each(function(cap)
144
-- skip if the capture is before the current position
145
- if cap.end_row < curr_row or (cap.end_row == curr_row and cap.end_col < curr_col) then
+ if cap.end_row < curr_row or (cap.end_row == curr_row and cap.end_col <= curr_col) then
146
return
147
end
148
0 commit comments