Fix syntax highlighting for languages with multiple injections

This commit is contained in:
Sebastian Martinez
2024-12-19 13:54:25 +01:00
parent 35201e6630
commit 4647cea062
5 changed files with 216 additions and 117 deletions
+9 -2
View File
@@ -1,4 +1,5 @@
.syntax.operator,
.syntax.keyword\.repeat,
.syntax.keyword {
color: var(--color-prettylights-syntax-keyword);
}
@@ -23,7 +24,8 @@
.syntax.function {
color: var(--color-prettylights-syntax-constant);
}
.syntax.comment {
.syntax.comment,
.syntax.comment\.documentation {
color: var(--color-prettylights-syntax-comment);
}
.syntax.string {
@@ -31,7 +33,8 @@
}
.syntax.string.special {
}
.syntax.function {
.syntax.function\.method {
color: var(--color-prettylights-syntax-entity);
}
.syntax.type.builtin {
}
@@ -57,4 +60,8 @@
.syntax.variable.parameter {
}
.syntax.constructor {
color: var(--color-prettylights-syntax-entity);
}
.syntax.tag\.delimiter {
color: var(--color-prettylights-syntax-keyword);
}