From e9321bb914b3a5a88b7dff5392f0f5f8d83bee67 Mon Sep 17 00:00:00 2001 From: Riley Bruins Date: Mon, 8 Apr 2024 22:20:26 -0700 Subject: feat(nix): misc cleanups + comment injection (#6418) * fix(nix): highlight strings within interpolations * feat(nix): move `derivation` to function.builtin * fix(nix): removes all `priority` workarounds * feat(nix): arbitrary injections using `#` comments --- tests/query/highlights/nix/test.nix | 5 +++++ 1 file changed, 5 insertions(+) (limited to 'tests') 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 } -- cgit v1.2.3-70-g09d2