aboutsummaryrefslogtreecommitdiffstats
path: root/tests/query
diff options
context:
space:
mode:
Diffstat (limited to 'tests/query')
-rw-r--r--tests/query/highlights/nix/test.nix5
1 files changed, 5 insertions, 0 deletions
diff --git a/tests/query/highlights/nix/test.nix b/tests/query/highlights/nix/test.nix
index 8ab067a2e..296a5a934 100644
--- a/tests/query/highlights/nix/test.nix
+++ b/tests/query/highlights/nix/test.nix
@@ -13,4 +13,9 @@
# ^ @variable.member
# ^ @function.call
# ^ @string.special.path
+ hi = if true then 9 else throw "an error ${here + "string"}";
+ # ^ @keyword.exception
+ # ^ @string
+ # ^ @variable
+ # ^ @string
}