Skip to content

Latest commit

 

History

3 Commits

Folders and files

NameName
Last commit message
Last commit date
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

LSP Addon

A Zed extension that lets you register arbitrary LSP servers without writing custom extension code.

Usage

  1. Edit extension.toml to add your LSP server under [language_servers.*]:
[language_servers.taplo]
name = "taplo"
language = "TOML"

[language_servers.tsgo]
name = "tsgo"
languages = ["TypeScript", "JavaScript", "TSX"]

Each entry requires:

  • name — the binary name (used as the LSP server ID)
  • language / languages — one or more language scopes to associate
  1. Reimport the extension in Zed (zed: extensions → find LSP Addon → reinstall or reload).
  2. Ensure the LSP server binary is installed and available on your system.
  3. Configure it in your Zed settings (~/.config/zed/settings.json) as needed:
{
  "lsp": {
    "tsgo": {
      "binary": {
        "path": "~/.local/bin/tsgo",
        "arguments": ["--lsp", "--stdio"]
      }
    }
  }
}

The LSP server ID in settings must match the name field in extension.toml. After these steps, the language selector in Zed will recognize the new LSP server for the associated languages. You can put it to ~/.local/share/zed/extensions/installed/lspaddon/ to install it or the button in zed install dev extension to install it and edit ~/.local/share/zed/extensions/installed/lspaddon/extension.toml to extend allowed lsp servers

About

A Zed extension that lets you register arbitrary LSP servers without writing custom extension code.

Resources

Stars

2 stars

Watchers

0 watching

Forks

Releases

Packages

Contributors

Languages