update: add tests for comments and function calls

This commit is contained in:
Chris Dragan 2026-01-03 22:24:14 +00:00
parent 9ffd7f1858
commit da0928d643

View file

@ -8,6 +8,15 @@ public var item = 1;
# ^ number
# ^ punctuation.delimiter
# hash comment
# <- spell
// slash comment
# <- spell
/* block comment */
# <- spell
fun name(arg1,
# ^ keyword.function
# ^ function
@ -125,3 +134,9 @@ fun name(arg1,
# <- punctuation.bracket
}
# <- punctuation.bracket
name(42)
# <- function.call
# ^ punctuation.bracket
# ^ number
# ^ punctuation.bracket