From d5adafbc0329558590ed1bd0fcf154a658e52387 Mon Sep 17 00:00:00 2001 From: Colin Date: Tue, 4 Jul 2023 22:30:27 +0000 Subject: [PATCH] package.json: implement an always-failing content-regex --- package.json | 1 + 1 file changed, 1 insertion(+) diff --git a/package.json b/package.json index c2ef9d4..259dfeb 100644 --- a/package.json +++ b/package.json @@ -19,6 +19,7 @@ "tree-sitter": [ { "first-line-regex": "^#!.*\\bnix-shell\\b.*$", + "content-regex": "^\b$nix-shell wraps other languages so intentionally fail against (and yield to) those other language matches", "injection-regex": "^(nix[-_]?shell)$", "scope": "source.nix_shell" }