Zed version 0.122.2 introduces native support for OCaml, Erlang, Terraform, HCL, and Beancount, alongside advanced collaboration updates and theme auto-switching. Developers will benefit from enhanced Go language tooling, improved Vim navigation, and customizable toolbars.
You can now leverage first-class syntax highlighting and language support for OCaml, Erlang, and Terraform, while enjoying faster file switching via an improved file finder.
📊 Product & Engineering Leads
Feature velocity improves with advanced collaboration tools like cross-release compatibility, chat replies, and channel note linking.
⚙️ DevOps & Security
No direct CI/CD or infrastructure deployment impact, but terminal links now support relative working directories for smoother local workflows.
✨ New Features & Capabilities (5)
Added OCaml and Erlang support
Added syntax highlighting for Terraform, HCL, and Beancount
Added support for configuring both light and dark themes with automatic system preference switching
Added ability to collaborate with users on different releases of Zed
Added support for configuring the editor toolbar
⚡ Performance & Enhancements (4)
Improved file finder to select the second item by default for quick toggling between the last two opened files
Improved Vim mode behavior and added workspace::ActivatePaneInDirection action
Improved Go code syntax highlighting, outlining, and breadcrumbs
Added diagnostic indicators to the scrollbar and cmd-click support for URLs in all buffers
🔧 Bug Fixes & Patches (3)
Fixed a hang or panic rendering double-width characters in a single-width terminal
Fixed shell environment loading issues when Nushell was set as $SHELL
Fixed high CPU usage when a language server crashed or closed stdout/stderr
❓ Frequently Asked Questions
Does Zed v0.122.2 contain breaking changes?
No, there are no breaking changes documented in this release.
What is the primary highlight of v0.122.2?
The primary highlights include new language supports for OCaml, Erlang, and Terraform, cross-release collaboration capabilities, and auto-switching light/dark themes.
How should teams prepare to upgrade to v0.122.2?
Teams can upgrade immediately without migration scripts, though users should review the new toolbar configuration and `share_on_join` collaboration settings if desired.
📄 View Raw Release Notes (Original Developer Log)
## Enhancements
### Languages
- Added OCaml support ([#5316](https://github.com/zed-industries/zed/issues/5316)).
- Added Erlang support ([#4939](https://github.com/zed-industries/zed/issues/4939)).
- Added syntax highlighting for Terraform and HCL ([#5098](https://github.com/zed-industries/zed/issues/5098)).
- Added syntax highlighting for [Beancount](https://beancount.github.io).
- Added file type icons for Elm and Prisma.
- Added outline support for Markdown files.
- Added buffer symbol search support for Haskell.
- Improved syntax highlighting of Go code by tuning highlighting of variables, brackets, and struct fields.
- Improved outline and breadcrumbs for Go code.
- Improved markdown preview:
- Added support for styling text with strikethrough.
- Added support for alignment of cells.
- Fixed a bug where inline code block weren't showing ([#7236](https://github.com/zed-industries/zed/issues/7236)).
### Vim
- Improved mode behavior by switching from `visual` to `normal` when clicking the mouse inside a buffer.
- Added ability to navigate to docks and back to the editor using the `workspace::ActivatePaneInDirection` action (by default bound to `Ctrl-w [hjkl]` in Vim mode). ([#6833](https://github.com/zed-industries/zed/issues/6833)).
### Collaboration
- Added the ability to collaborate with users on different releases of Zed.
- Added the ability to reply to a chat message.
- Added highlight message when clicking on a mention notifications or a reply message.
- Added the ability to link to channel notes: https://zed.dev/channel/zed-283/notes#Roadmap
- Added an alert when screen-sharing fails.
- Added a setting `share_on_join` (defaulting to true). When set, and you join an empty channel, your project is automatically shared.
- Changed the chat message editor to be hidden when not in an active chat.
### Themes
- Added support for configuring both a light and dark theme and switching between them based on system preference.
- Added theme-specific `search.match_background` colors to built-in themes.
- Improved the contrast of the default `search.match_background` colors.
### General
- Added ability to `cmd-click` on URLs in all buffers.
- Added diagnostic indicators to the scrollbar.
- Added `pane::RevealInProjectPanel` as an action in the command palette. ([#7485](https://github.com/zed-industries/zed/issues/7485)).
- Added support for configuring the editor toolbar ([#4756](https://github.com/zed-industries/zed/issues/4756)).
```json
"toolbar": {
"breadcrumbs": true,
"quick_actions": false
}
```
- Added support for terminal links relative to cwd ([#7144](https://github.com/zed-industries/zed/issues/7144)).
- Added a setting for `vertical_scroll_offset`.
- Added four new actions: `editor::MoveUpByLines`, `editor::MoveDownByLines`, `editor::SelectUpByLines`, `editor::SelectDownByLines` that can take a line count configuration and move the cursor by that count.
- Added `editor::Rename` to JetBrains keymaps ([#7261](https://github.com/zed-industries/zed/issues/7261)).
- Improved Jetbrains keybindings to include cmd+alt+left/right to go back and forwards between panes rather than the default previous / next pane.
- Improved error behavior for `editor: copy permalink to line` action.
- Improved UI of file finder.
- Improved file finder by selecting second item by default. This makes the file finder select the previously-opened file by default, which allows the for quickly switching between two last opened files by via `Cmd+p+Enter`.
## Bug Fixes
- Fixed dead keys not being underlined.
- Fixed a hang/panic that could happen rendering a double-width character in a single-width terminal ([#2750](https://github.com/zed-industries/zed/issues/2750), [#7457](https://github.com/zed-industries/zed/issues/7457)).
- Fixed an issue where an editors' lines were not laid out correctly when showing certain diagnostics.
- Fixed shell environment not being loaded if Nushell was set as `$SHELL`.
- Fixed terminal not handling focus-state correctly and, for example, not restoring cursor blinking state correctly. ([#7401](https://github.com/zed-industries/zed/issues/7401)).
- Fixed an erroneous prompt to "hang up" when opening a new project from an empty workspace.
- Fixed following when the leader has multiple Zed windows open.
- Fixed a bug where copying to the clipboard from the terminal could lag.
- Fixed occasional duplicate hints inserted and offset-related panics when concurrently editing the buffer and querying multiple ranges for hints.
- Fixed documentation in completions showing up even when disabled via `show_completion_documentation` ([#7348](https://github.com/zed-industries/zed/issues/7348)).
- Fixed a bug where the update notification wouldn't dismiss when clicking to view the release notes.
- Fixed padding of the "notes" button in the collaboration panel.
- Fixed high CPU usage when a language server crashed (or closes its stdout/stderr on purpose).
- Fixed a bug where the documentation popover would show when no documentation was available.
- Fixed some bugs with selecting items in the project panel ([#7003](https://github.com/zed-industries/zed/issues/7003), [#7005](https://github.com/zed-industries/zed/issues/7005)).
- Fixed `H`/`M`/`L` with various values of `vertical_scroll_offset`.
- Fixed `e` behavior when boundary is last point on line ([#4354](https://github.com/zed-industries/zed/issues/4354)).
- Fixed `,` and `;` in visual mode ([#7182](https://github.com/zed-industries/zed/issues/7182)).