diff options
Diffstat (limited to 'pygments/lexers/configs.py')
-rw-r--r-- | pygments/lexers/configs.py | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/pygments/lexers/configs.py b/pygments/lexers/configs.py index 44475357..df346609 100644 --- a/pygments/lexers/configs.py +++ b/pygments/lexers/configs.py @@ -452,12 +452,12 @@ class NginxConfLexer(RegexLexer): include('base'), ], 'block': [ - (r'}', Punctuation, '#pop:2'), + (r'\}', Punctuation, '#pop:2'), (r'[^\s;#]+', Keyword.Namespace, 'stmt'), include('base'), ], 'stmt': [ - (r'{', Punctuation, 'block'), + (r'\{', Punctuation, 'block'), (r';', Punctuation, '#pop'), include('base'), ], |