Skip to content

Zed, invalid type: string "lsp" #49

@White-Rabbit-Scientific

Description

Following the instructions... created .zed/settings.json and added

"lsp": {
  "tinymist": {
    "settings": {
      "exportPdf": "onSave",
      "outputPath": "$root/$name"
    }
  }
}

Zed popup:

"Failed to set local settings in ".zed/settings.json":
invalid type: string "lsp", expected struct
ProjectSettingsContent at line 1 column 5

This fixes it:

{
  "settings": {
    "lsp": {
      "tinymist": {
        "settings": {
          "exportPdf": "onSave",
          "outputPath": "$root/$name"
        }
      }
    }
  }
}

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type
    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions