Zed
Vibe provides a Zed extension in editors/zed/ that registers native Vibe (.vibe) and Vibe JSX (.vibex) languages with tree-sitter highlighting and launches vibelang --lsp --stdio from the project's node_modules/.bin/vibelang (falling back to vibelang on PATH).
Known Zed 0.195.3 limit: Older Zed releases send
previousResultId: nullon pull diagnostic requests, which VibeLang rejects withInvalidParams(-32602). Upgrade Zed or runnpx vibelang --noEmitin the terminal for diagnostics if your Zed build still sends that field.
Option 1: Install the Zed extension (recommended)
Install as a Dev Extension
Requires Rust with the wasm32-wasip1 target (rustup target add wasm32-wasip1).
- Clone
https://github.com/smithersai/vibelang. - In Zed, open the Command Palette and run zed: install dev extension.
- Choose the
editors/zeddirectory in your checkout. - Open a project with
vibelanginstalled; the extension automatically discoversnode_modules/.bin/vibelang(orvibelangonPATH) and startsvibelang --lsp --stdio.
To override the binary path in a workspace, add .zed/settings.json:
{
"lsp": {
"vibelang": {
"binary": {
"path": "/absolute/path/to/project/node_modules/.bin/vibelang",
"arguments": ["--lsp", "--stdio"]
}
}
}
}Zed Extensions registry
Once published to the Zed Extensions registry, open zed: extensions in Zed and install Vibe (vibelang). See editors/zed/README.md in the repository for the registry submission manifest (extensions.toml).
Option 2: Project settings without the extension
If you prefer not to install the Dev Extension yet, project settings can map .vibe to TypeScript and .vibex to TSX and point Zed's vtsls binary at vibelang. VibeLang accepts Zed's typescript language id and serves .ts files too.
1. Find the compiler's absolute path
From the project directory, run:
echo "$PWD/node_modules/.bin/vibelang"
"$PWD/node_modules/.bin/vibelang" --versionCopy the first line for step 2; the second prints VibeLang 0.0.15 (TypeScript 7.1.0-dev).
2. Add the project settings
Add or merge into .zed/settings.json (keeping vtsls intact in other TypeScript projects) and replace path with the absolute path from step 1:
{
"file_types": {
"TypeScript": ["vibe"],
"TSX": ["vibex"]
},
"lsp": {
"vtsls": {
"binary": {
"path": "/absolute/path/to/project/node_modules/.bin/vibelang",
"arguments": ["--lsp", "--stdio"]
}
}
},
"languages": {
"TypeScript": {
"language_servers": ["vtsls"]
},
"TSX": {
"language_servers": ["vtsls"]
}
}
}language_servers selects only this server so no other TypeScript server duplicates reports. VibeLang reads the first existing config in order: vibe.config.json, tsconfig.json, jsconfig.json.