-
Notifications
You must be signed in to change notification settings - Fork 1.9k
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Update codeActionProvider type to support CodeActionOptions
Summary: LSP now has the ability to tell the client upon intialization which code actions we support: see [ServerCapabilities.codeActionProvider](https://microsoft.github.io/language-server-protocol/specifications/specification-current/#initialize) and [CodeActionOptions](https://microsoft.github.io/language-server-protocol/specifications/specification-current/#textDocument_codeAction). This diff updates `lsp.ml` to reflect this. Relevant LSP commits: - [Adding CodeActionOptions to the `codeActionProvider` server capability](microsoft/language-server-protocol@9ae6daa) - [renaming `CodeActionOptions.providedCodeActionKinds` to `CodeActionOptions.codeActionKinds`](microsoft/language-server-protocol@7aed39b) Reviewed By: nmote Differential Revision: D20007191 fbshipit-source-id: e5c7e5b51710eaf8c9f9b51d4d09ba2a1cec4e39
- Loading branch information
1 parent
922c145
commit 7642a1b
Showing
4 changed files
with
24 additions
and
4 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters