Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Fix (respect) most end positions for diagnostics.
Parallels https://github.com/leanprover/vscode-lean/blob/9a5f32602a5089fe9985df631f1b24aa44965063/src/diagnostics.ts#L67-L75 meaning we now handle the first two cases of leanprover-community/lean#744 (comment). The last one is where end_pos is undefined, and what vscode does is instead use a word range -- we can implement that from within lean.nvim. Refs: leanprover-community/lean#744
- Loading branch information