vim-lsp icon indicating copy to clipboard operation
vim-lsp copied to clipboard

Fix signs for diagnostics that are reported one line past the end

Open dotdash opened this issue 1 year ago • 2 comments

Some language servers report unexpected EOF errors on the line that's actually one past the last line of the file. Be a bit more accomodating and just show them on the last line of the buffer instead.

dotdash avatar Sep 20 '22 09:09 dotdash

I've noticed this problem with the Intelephense LSP server.

dotdash avatar Sep 20 '22 09:09 dotdash

@prabirshrestha the failing test seems to be from an intermittent github issue, could you re-run it please?

dotdash avatar Sep 21 '22 08:09 dotdash

Merged. Thanks.

prabirshrestha avatar Sep 25 '22 16:09 prabirshrestha