From 82a7915b214d73e7a0b65200e4aeca56f1ddc082 Mon Sep 17 00:00:00 2001 From: Kirill Bulatov Date: Fri, 7 Nov 2025 15:39:54 +0200 Subject: [PATCH] Add a bit more clarity into the docs --- assets/settings/default.json | 1 + docs/src/configuring-languages.md | 2 +- docs/src/configuring-zed.md | 2 +- 3 files changed, 3 insertions(+), 2 deletions(-) diff --git a/assets/settings/default.json b/assets/settings/default.json index fcb524a39e045439bd014e3c1312ffb7aa32eb94..0da1285317ebce33ee5a66da54b6f644786b6990 100644 --- a/assets/settings/default.json +++ b/assets/settings/default.json @@ -256,6 +256,7 @@ // completions menu "show_completion_documentation": true, // Whether to colorize brackets in the editor. + // (also known as "rainbow brackets") // // The colors that are used for different indentation levels are defined in the theme (theme key: `accents`). // They can be customized by using theme overrides. diff --git a/docs/src/configuring-languages.md b/docs/src/configuring-languages.md index 75620fa199946d8f1b0019b9c6f302fe68ef272e..7b3456986e2766d134f3c1f15f94632feb067fb0 100644 --- a/docs/src/configuring-languages.md +++ b/docs/src/configuring-languages.md @@ -58,7 +58,7 @@ You can customize a wide range of settings for each language, including: - [`soft_wrap`](./configuring-zed.md#soft-wrap): How to wrap long lines of code - [`show_completions_on_input`](./configuring-zed.md#show-completions-on-input): Whether or not to show completions as you type - [`show_completion_documentation`](./configuring-zed.md#show-completion-documentation): Whether to display inline and alongside documentation for items in the completions menu -- [`colorize_brackets`](./configuring-zed.md#colorize-brackets): Whether to use tree-sitter bracket queries to detect and colorize the brackets in the editor +- [`colorize_brackets`](./configuring-zed.md#colorize-brackets): Whether to use tree-sitter bracket queries to detect and colorize the brackets in the editor (also known as "rainbow brackets") These settings allow you to maintain specific coding styles across different languages and projects. diff --git a/docs/src/configuring-zed.md b/docs/src/configuring-zed.md index 7dc53b88564857c3e6c09070dab95ff7a33cc17f..641a338b3a35bb42dcc85ecf27e1654799762897 100644 --- a/docs/src/configuring-zed.md +++ b/docs/src/configuring-zed.md @@ -4558,7 +4558,7 @@ See the [debugger page](./debugger.md) for more information about debugging supp ## Colorize Brackets -- Description: Whether to use tree-sitter bracket queries to detect and colorize the brackets in the editor. +- Description: Whether to use tree-sitter bracket queries to detect and colorize the brackets in the editor (also known as "rainbow brackets"). - Setting: `colorize_brackets` - Default: `false`