lspsaga.nvim
lspsaga.nvim copied to clipboard
Fix: stop showing get_diagnostic when cursor exceed position
This patch fixes the problem which diagnostics keeps on showing even when cursor position exceeds diagnosed area in get_diagnostic. It fixes the condition clause in get_diagnostic to correctly determine the cursor position to show. This is a followup fix from Issue #1270.