Represent theme's syntax colors with string keys
Co-authored-by: Marshall Bowers <marshall@zed.dev>
This commit is contained in:
parent
a569c82492
commit
0eae962abf
10 changed files with 156 additions and 132 deletions
|
@ -166,7 +166,7 @@ impl Buffer {
|
|||
let line_number_color = if row.current {
|
||||
theme.text
|
||||
} else {
|
||||
theme.syntax.comment
|
||||
theme.syntax.get("comment").color.unwrap_or_default()
|
||||
};
|
||||
|
||||
h_stack()
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue