Skip to content

armgit / zed

Public Imported from GitHub
0

Code at the speed of thought – Zed is a high-performance, multiplayer code editor from the creators of Atom and Tree-sitter.

Remove incorrect documentation for language-specific theme overrides (#17894)

Peter Tripp784c3093aedd
diff --git a/docs/src/configuring-languages.md b/docs/src/configuring-languages.md
index b2c9571bd47..65e9f822b94 100644
--- a/docs/src/configuring-languages.md
+++ b/docs/src/configuring-languages.md
@@ -295,7 +295,9 @@ Zed offers customization options for syntax highlighting and themes, allowing yo
### Customizing Syntax Highlighting
-Zed uses Tree-sitter grammars for syntax highlighting. Override the default highlighting using the `experimental.theme_overrides` setting:
+Zed uses Tree-sitter grammars for syntax highlighting. Override the default highlighting using the `experimental.theme_overrides` setting.
+
+This example makes comments italic and changes the color of strings:
```json
"experimental.theme_overrides": {
@@ -310,28 +312,6 @@ Zed uses Tree-sitter grammars for syntax highlighting. Override the default high
}
```
-This example makes comments italic and changes the color of strings.
-
-### Language-Specific Theme Overrides
-
-Apply theme overrides for specific languages:
-
-```json
-"languages": {
- "Python": {
- "theme_overrides": {
- "syntax": {
- "function": {
- "color": "#0000FF"
- }
- }
- }
- }
-}
-```
-
-This configuration changes the color of function names in Python files.
-
### Selecting and Customizing Themes
Change your theme: