Open
Description
VSCode supports a few diagnostic ranges that aren't documented in the LSP spec:
- If a diagnostic's range has start and end position the same, then VSCode will squiggle the word at that position.
- If a diagnostic's range has end position at character
Number.MAX_VALUE
, then VSCode will squiggle to the end of the line.
I think the LSP spec should call out these two cases, so that other clients implementing it will be sure to do the same.