Skip to content

[LSP] Fix SemanticTokensOptions API #78

Description

@developerfred

Problem

SemanticTokensFullOptions::bool(true) doesn't exist in lsp-types 0.94.

Files Affected

  • tools/lsp/src/main.rs (line 74)

Fix

Replace:

full: Some(SemanticTokensFullOptions::bool(true)),

With:

full: Some(SemanticTokensFullOptions {
    ..Default::default()
}),

Priority

High

Labels

  • lsp
  • good-first-issue

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions