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

Zed does not support this, the documentation was added in error. And if it were supported, the key would be `experimental.theme_overrides` not `theme_overrides`.
This commit is contained in:
Peter Tripp 2024-09-16 12:41:33 -04:00 committed by GitHub
parent ba5c1322ce
commit 784c3093ae
No known key found for this signature in database
GPG key ID: B5690EEEBB952194

View file

@ -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: