Skip to content

Type to search extensions

Yulang

v0.0.10

Yulang language support

Updated 4 months ago
77 downloads 0 stars Repository ↗

Yulang for Zed

Yulang language support for Zed.

This extension provides syntax highlighting through the tree-sitter-yulang grammar and starts the Yulang language server from the active Zed worktree environment.

Language Server

The language server ships inside the main yulang binary. Install a release binary first:

curl -fsSL https://yulang.momota.pw/install.sh | sh

# Or pin a specific release instead:
curl -fsSL https://yulang.momota.pw/install.sh | sh -s -- --version v0.1.0-alpha.10

The extension searches the active worktree environment, then invokes yulang server. It does not bundle a language server binary yet.

You can override the command from Zed settings:

{
  "lsp": {
    "yulang": {
      "binary": {
        "path": "/home/me/.yulang/bin/yulang",
        "arguments": ["server"]
      }
    }
  }
}

Semantic Highlighting

Zed keeps tree-sitter highlighting and language-server semantic highlighting as separate settings. For editing, prefer "combined" so tree-sitter colors remain visible while Zed is waiting for refreshed language-server semantic tokens:

{
  "languages": {
    "Yulang": {
      "semantic_tokens": "combined"
    }
  }
}

Use "full" only when you want to inspect the language-server semantic colors without the tree-sitter baseline underneath.

ZedExt An unofficial community project. Not affiliated with Zed Industries.

Data from Zed’s extension registry and GitHub · updated