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
1 changed files with 24 additions and 0 deletions

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
}