From 894aa5d5998092780495f68ff9de27d18692fbad Mon Sep 17 00:00:00 2001 From: roxblnfk Date: Sun, 5 Jul 2026 14:53:42 +0400 Subject: [PATCH] Inject regex and printf format strings into PHP calls Highlight embedded mini-languages inside PHP string arguments via tree-sitter injections: - the pattern argument of `preg_*` calls as a regular expression; - the format string of `printf`/`sprintf`/`vprintf`/`vsprintf` (first argument) and `fprintf`/`vfprintf`/`sscanf`/`fscanf` (second argument) as printf. Heredoc/nowdoc bodies already inject by tag: Zed resolves the tag against language names and file extensions case-insensitively, so `<<