add highlight tests for keywords

This commit is contained in:
Dmitriy Pleshevskiy 2022-12-07 13:34:42 +03:00
parent 3a040e6bf5
commit d576ebc919
Signed by: pleshevskiy
GPG key ID: 1B59187B161C0215

24
test/highlight/keyword.d2 Normal file
View file

@ -0,0 +1,24 @@
direction: right;
# <- keyword
# ^ punctuation.delimiter
# ^ string
# ^ punctuation.delimiter
baaaz.style: {
# <- variable
# ^ keyword
fill: red
# <- keyword
# ^ string
}
foo: Label {
shape: oval
# <- keyword
# ^ string
style.fill: red;
# <- keyword
# ^ keyword
}