Mirrored from nix-community#45 by @musjj (opened 2023-08-21T11:49:17Z).
This issue is tracked here so the fork can work on it; upstream may not respond. Please add new context in this issue.
When trying to embed nix variables into multi-line strings with injected highlighting, the highlighting breaks if there are quotes ("/') near it:



This is especially annoying if you're trying to escape ${...} inside shell scripts by using double quotes (''):

Note that this issue doesn't happen outside of injections (e.g. bash files).
When trying to embed nix variables into multi-line strings with injected highlighting, the highlighting breaks if there are quotes (
"/') near it:This is especially annoying if you're trying to escape
${...}inside shell scripts by using double quotes (''):Note that this issue doesn't happen outside of injections (e.g.
bashfiles).