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:
parent
ba5c1322ce
commit
784c3093ae
1 changed files with 3 additions and 23 deletions
|
@ -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:
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue