add highlight tests for keywords
This commit is contained in:
parent
3a040e6bf5
commit
d576ebc919
1 changed files with 24 additions and 0 deletions
24
test/highlight/keyword.d2
Normal file
24
test/highlight/keyword.d2
Normal 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
|
||||
}
|
||||
|
Loading…
Reference in a new issue