Code at the speed of thought – Zed is a high-performance, multiplayer code editor from the creators of Atom and Tree-sitter.
docs: Document inline blame options (#20006)
Thorsten Ball10226a39927c
diff --git a/assets/settings/default.json b/assets/settings/default.jsonindex 52950522154..c2f02757445 100644--- a/assets/settings/default.json+++ b/assets/settings/default.json@@ -652,6 +652,12 @@// Sets a delay after which the inline blame information is shown.// Delay is restarted with every cursor movement.// "delay_ms": 600+ //+ // Whether or not do display the git commit summary on the same line.+ // "show_commit_summary": false+ //+ // The minimum column number to show the inline blame information at+ // "min_column": 0}},// Configuration for how direnv configuration should be loaded. May take 2 values:diff --git a/docs/src/configuring-zed.md b/docs/src/configuring-zed.mdindex d8105b4537b..11c6fdc09d9 100644--- a/docs/src/configuring-zed.md+++ b/docs/src/configuring-zed.md@@ -1043,6 +1043,32 @@ To interpret all `.c` files as C++, files called `MyLockFile` as TOML and files}```+3. Show a commit summary next to the commit date and author:++```json+{+ "git": {+ "inline_blame": {+ "enabled": true,+ "show_commit_summary": true+ }+ }+}+```++4. Use this as the minimum column at which to display inline blame information:++```json+{+ "git": {+ "inline_blame": {+ "enabled": true,+ "min_column": 80+ }+ }+}+```+## Indent Guides- Description: Configuration related to indent guides. Indent guides can be configured separately for each language.