diff options
Diffstat (limited to 'pygments/lexers/nix.py')
-rw-r--r-- | pygments/lexers/nix.py | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/pygments/lexers/nix.py b/pygments/lexers/nix.py index 23171fee..6d9f0e7d 100644 --- a/pygments/lexers/nix.py +++ b/pygments/lexers/nix.py @@ -115,7 +115,7 @@ class NixLexer(RegexLexer): (r'[^"]', String.Double), ], 'antiquote': [ - (r"}", String.Interpol, '#pop'), + (r"\}", String.Interpol, '#pop'), # TODO: we should probably escape also here ''${ \${ (r"\$\{", String.Interpol, '#push'), include('root'), |