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
This commit is contained in:
Riley Bruins 2024-04-08 22:20:26 -07:00 committed by GitHub
parent 46b587eb38
commit e9321bb914
No known key found for this signature in database
GPG key ID: B5690EEEBB952194
3 changed files with 37 additions and 24 deletions

View file

@ -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
}