Skip to content

Fixed an issue where Zed extension read settings from lsp.path-server.settings rather than lsp.path-server-lsp.settings - #56

Merged
kunlinglio merged 1 commit into
masterfrom
dev
Oct 2, 2026
Merged

kunlinglio merged 1 commit into
masterfrom
dev

Conversation

@kunlinglio

@kunlinglio kunlinglio commented Oct 2, 2026 •

Copy link
Copy Markdown
Owner

Fixes #55

After adding this field in Zed settings file:

"lsp": {
  "path-server-lsp": {
    "settings": {
      "basePath": ["${document}"],
      "completion": {
        "maxResults": 2,
      },
    },
  }
}

Before this PR, the path-server lsp get:

[Config] Configuration changed, update to: {
  "base_path": [
    "${document}",
    "${workspaceFolder}"
  ],
  "completion": {
    "max_results": 0,
    "show_hidden_files": true,
    "exclude": [
      "**/node_modules",
      "**/.git",
      "**/.DS_Store"
    ],
    "trigger_next_completion": true
  },
  "highlight": {
    "enable": true,
    "highlight_directory": true
  }
}

After this PR, the path-server lsp get:

[Config] Configuration changed, update to: {
  "base_path": [
    "${document}"
  ],
  "completion": {
    "max_results": 2,
    "show_hidden_files": true,
    "exclude": [
      "**/node_modules",
      "**/.git",
      "**/.DS_Store"
    ],
    "trigger_next_completion": true
  },
  "highlight": {
    "enable": true,
    "highlight_directory": true
  }
}

@kunlinglio
kunlinglio merged commit 9937a0f into master Oct 2, 2026
5 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Zed: unable to configure settings /

1 participant