Closed rchl closed 4 years ago
Either it is a bag on the server or vls is not following the spec :)
/**
* Character offset on a line in a document (zero-based). Assuming that the line is
* represented as a string, the `character` value represents the gap between the
* `character` and `character + 1`.
*
* If the character value is greater than the line length it defaults back to the
* line length.
*/
character: number;
}
I've checked in VSCode and the range is fine in their version of VLS. I guess it must be slightly newer (vls
package appears to be lagging slightly compared to the vscode extension).
Huh. I did not know you could transfer issues!
Not sure how to reproduce this anymore so I'll assume it's fixed.
LSP master - 131c8f1d5c966cb1315e61dd52cdb95b468bfda7 OSX LSP-vue
vetur returns one of the diagnostics with
None
end character offset which triggers an exception.Here is that diagnostic:
Stacktrace: