Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Fix placement of diagnostics with same start and end positions
Some servers such as cquery and clangd publish diagnostic with identical start and end positions. * eglot.el (eglot-handle-notification :textDocument/publishDiagnostics): Add 1 to :line since LSP lines are 0-based. Don't subtract 1 from :character, since both emacs and LSP have 0-based columns.
- Loading branch information