change highlights

This commit is contained in:
Dmitriy Pleshevskiy 2022-12-09 19:05:04 +03:00
parent b3a382ff5b
commit 8b2a240f22
Signed by: pleshevskiy
GPG key ID: 1B59187B161C0215
4 changed files with 37 additions and 14 deletions

View file

@ -11,7 +11,7 @@ timeline mixer: "" {
}
People discovery: "People discovery \nservice"
admixer: Ad mixer {
fill: "#c1a2f3"
style.fill: "#c1a2f3"
}
onboarding service: "Onboarding \nservice"
@ -55,7 +55,7 @@ Android: {
web -> twitter fe
timeline scorer: "Timeline\nScorer" {
fill: "#ffdef1"
style.fill: "#ffdef1"
}
home ranker: Home Ranker
@ -67,7 +67,7 @@ timeline mixer -> home ranker: {
}
timeline mixer -> timeline service
home mixer: Home mixer {
# fill: "#c1a2f3"
# style.fill: "#c1a2f3"
}
container0.graphql -> home mixer: {
style.stroke-dash: 4
@ -94,7 +94,7 @@ prediction service2: Prediction Service {
icon: https://cdn-icons-png.flaticon.com/512/6461/6461819.png
}
home scorer: Home Scorer {
fill: "#ffdef1"
style.fill: "#ffdef1"
}
manhattan: Manhattan
memcache: Memcache {
@ -102,15 +102,15 @@ memcache: Memcache {
}
fetch: Fetch {
multiple: true
style.multiple: true
shape: step
}
feature: Feature {
multiple: true
style.multiple: true
shape: step
}
scoring: Scoring {
multiple: true
style.multiple: true
shape: step
}
fetch -> feature

View file

@ -8,11 +8,14 @@
; Literals
;-------------------------------------------------------------------------------
(language) @string.special
(container_key (string) @string.special)
(language) @type.qualifier
(container_key (string) @string)
(shape_key (string) @string)
(label) @string
(label) @string.special
(attr_value) @string
(integer) @number
(float) @float
(boolean) @boolean
; Comments
;-------------------------------------------------------------------------------
@ -33,6 +36,9 @@
[
"{"
"}"
"|"
"|`"
"`|"
] @punctuation.bracket
; Special (nvim-treesitter overwrite previous rules)

View file

@ -26,3 +26,20 @@ foo: Label {
# ^ property
}
foo: {
style: {
opacity: 0.5
# ^ float
fill: red
# ^ string
stroke: 'red'
# ^ string
stroke-width: 5
# ^ number
shadow: true
# ^ boolean
animated: false
# ^ boolean
}
}

View file

@ -1,22 +1,22 @@
foo.'baz'.biz
# <- constant
# ^ punctuation.delimiter
# ^ string.special
# ^ string
# ^ punctuation.delimiter
# ^ variable
'biz': 'Baz'
# <- string
# ^ string
# ^ string.special
foo: Foo Bar
# <- variable
# ^ punctuation.delimiter
# ^ string
# ^ string.special
foo: Foo Bar {
# <- constant
# ^ string
# ^ string.special
# ^ punctuation.bracket
bar.baz