Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Fix incorrect
diagnosticProvider
value of LSP
## Summary This PR fixes incorrect `diagnosticProvider` value of LSP. `diagnosticProvider` cannot accept `true` as below. This PR replaces the originally acceptable value. ```typescript /** * The server has support for pull model diagnostics. * * @SInCE 3.17.0 */ diagnosticProvider?: DiagnosticOptions | DiagnosticRegistrationOptions; ``` https://microsoft.github.io/language-server-protocol/specifications/lsp/3.17/specification/#initialize ## Additional Information This issue was found in rubocop/rubocop#12154.
- Loading branch information