# Zed Has Rainbow Brackets

DevFeed: [Zed Has Rainbow Brackets](<https://devfeed.tech/articles/zed-has-rainbow-brackets-13528.md>)

Original publisher: [Read original article](<https://zed.dev/blog/rainbow-brackets>)

Author: Kirill Bulatov

Published: 2025-12-03T00:00:00Z

Content type: article

Language: en

Sources: [Zed Industries - Blog](<https://devfeed.tech/sources/zed-industries-blog.md>)

Topics: [Tree-sitter](<https://devfeed.tech/topics/tree-sitter.md>), [Syntax Highlighting](<https://devfeed.tech/topics/syntax-highlighting.md>), [vs-code](<https://devfeed.tech/topics/vs-code.md>), [Refactoring](<https://devfeed.tech/topics/refactoring.md>)

Tags: [build](<https://devfeed.tech/tags/build.md>), [feature](<https://devfeed.tech/tags/feature.md>), [refactoring](<https://devfeed.tech/tags/refactoring.md>), [rust](<https://devfeed.tech/tags/rust.md>), [syntax](<https://devfeed.tech/tags/syntax.md>), [vs-code](<https://devfeed.tech/tags/vs-code.md>)

## AI overview

Zed introduces rainbow brackets, a feature that colors each nesting level differently to help users follow matching brackets. The article explains how Zed implemented it using tree-sitter queries and existing language-extension query files rather than maintaining complete syntax trees in memory.

## Source excerpt

A whole new world of color comes to Zed.