From da0928d6439e69c86533ae661e4bdbef3c68e940 Mon Sep 17 00:00:00 2001 From: Chris Dragan Date: Sat, 3 Jan 2026 22:24:14 +0000 Subject: [PATCH] update: add tests for comments and function calls --- tests/query/highlights/kos/test.kos | 15 +++++++++++++++ 1 file changed, 15 insertions(+) diff --git a/tests/query/highlights/kos/test.kos b/tests/query/highlights/kos/test.kos index 768c9580e..cffa21218 100644 --- a/tests/query/highlights/kos/test.kos +++ b/tests/query/highlights/kos/test.kos @@ -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