feat: add Nix injection queries for embedded language highlighting

Adapted Helix nix/injections.scm for tree-sitter-highlight:
- Removed Helix-specific predicates
- Recognizes bash in buildPhase/installPhase, python in testScript,
  json in fromJSON, etc.
This commit is contained in:
Timothy DeHerrera
2026-01-26 23:54:59 -07:00
parent b16246fba6
commit a7338f5418
4 changed files with 366 additions and 70 deletions

1
Cargo.lock generated
View File

@@ -513,6 +513,7 @@ dependencies = [
"serde",
"thiserror",
"toml 0.8.23",
"tree-sitter",
"tree-sitter-bash",
"tree-sitter-c",
"tree-sitter-css",