Skip to content

Commit 1e477e0

Browse files
author
Gilad Gray
committed
fix Less styles
1 parent d0fc6ae commit 1e477e0

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

src/scopes.ts

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -48,6 +48,7 @@ export const foregrounds: Record<string, string[]> = {
4848
[Aliases.VARIABLE]: [
4949
"variable",
5050
"markup.inline.raw",
51+
"punctuation.definition.variable.less", // Less [@]var
5152
],
5253
[Aliases.LANGUAGE]: [
5354
"variable.language",
@@ -82,7 +83,7 @@ export const foregrounds: Record<string, string[]> = {
8283
[Aliases.OPERATOR]: [
8384
"keyword.operator",
8485
"entity.name.tag.reference", // Sass &
85-
"entity.other.attribute-name.parent-selector", // Less &
86+
"entity.other.attribute-name.parent-selector punctuation.definition", // Less &
8687
"markup.italic",
8788
"punctuation.definition.italic",
8889
"punctuation.definition.interpolation", // Sass #{}

0 commit comments

Comments
 (0)