Code at the speed of thought – Zed is a high-performance, multiplayer code editor from the creators of Atom and Tree-sitter.
docs: Indent guides (#12373)
Bennet Bo Fennerdf4c60e36c08
diff --git a/docs/src/configuring-zed.md b/docs/src/configuring-zed.mdindex 4f8a7d9d1ab..63ddca3df63 100644--- a/docs/src/configuring-zed.md+++ b/docs/src/configuring-zed.md@@ -713,6 +713,74 @@ To interpret all `.c` files as C++, files called `MyLockFile` as TOML and files}```+### Indent Guides++- Description: Configuration related to indent guides (requires Zed `0.138.0`). Indent guides can be configured separately for each language.+- Setting: `indent_guides`+- Default:++```json+{+ "indent_guides": {+ "enabled": true,+ "line_width": 1,+ "coloring": "fixed",+ "background_coloring": "disabled"+ }+}+```++**Options**++1. Disable indent guides++```json+{+ "indent_guides": {+ "enabled": false+ }+}+```++2. Enable indent guides for a specific language.++```json+{+ "languages": {+ "Python": {+ "indent_guides": {+ "enabled": true+ }+ }+ }+}+```++3. Enable indent aware coloring ("rainbow indentation").+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.++```json+{+ "indent_guides": {+ "enabled": true,+ "coloring": "indent_aware"+ }+}+```++4. Enable indent aware background coloring ("rainbow indentation").+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.++```json+{+ "indent_guides": {+ "enabled": true,+ "coloring": "indent_aware",+ "background_coloring": "indent_aware"+ }+}+```+### Inline Git Blame- Description: Whether or not to show git blame information inline, on the currently focused line (requires Zed `0.132.0`).