Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Omit unset ranges for TextDocumentContentChangeEvent
The Typescript language server [checks ranges only for equality to `undefined`](https://github.com/microsoft/vscode-languageserver-node/blob/1ce790dd341a38da1fbf902cddc16ce456149de0/protocol/src/common/protocol.ts#L1915) to determine if a change is incremental. This means that unset ranges need to be omitted completely from the generated messages instead of encoding them as `null`. Fixes 9fans/acme-lsp#75
- Loading branch information