]> git.lizzy.rs Git - rust.git/commit
Do not register all proposed features
authorkjeremy <kjeremy@gmail.com>
Fri, 14 Feb 2020 16:48:27 +0000 (11:48 -0500)
committerkjeremy <kjeremy@gmail.com>
Fri, 14 Feb 2020 16:48:27 +0000 (11:48 -0500)
commit7a832cdf6b9efef2e6c45f56a4385adddd493ea6
tree5724e94f0272b83ebf8d4a042c03d0a5f2b58627
parentd46b555e31d04feeb6310c52248bba7ff267c453
Do not register all proposed features

Instead only opt-in to CallHierarchy since it has a vscode API but LSP support
is still proposed.

Discovered while working on SemanticTokens which does not have a vscode API
and is still in the proposed state. Somehow enabling it would crash the
language server.

See https://github.com/microsoft/vscode-languageserver-node/issues/572
editors/code/src/client.ts