summaryrefslogtreecommitdiff
path: root/pygments/lexers/nix.py
diff options
context:
space:
mode:
Diffstat (limited to 'pygments/lexers/nix.py')
-rw-r--r--pygments/lexers/nix.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/pygments/lexers/nix.py b/pygments/lexers/nix.py
index 1ac78cde..23171fee 100644
--- a/pygments/lexers/nix.py
+++ b/pygments/lexers/nix.py
@@ -109,7 +109,7 @@ class NixLexer(RegexLexer):
'doublequote': [
(r'\\', String.Escape),
(r'\\"', String.Escape),
- (r'\\${', String.Escape),
+ (r'\\$\{', String.Escape),
(r'"', String.Double, '#pop'),
(r'\$\{', String.Interpol, 'antiquote'),
(r'[^"]', String.Double),