summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--pygments/lexers/text.py1
1 files changed, 1 insertions, 0 deletions
diff --git a/pygments/lexers/text.py b/pygments/lexers/text.py
index 34a8f424..280d4472 100644
--- a/pygments/lexers/text.py
+++ b/pygments/lexers/text.py
@@ -1510,6 +1510,7 @@ class NginxConfLexer(RegexLexer):
(r'[^\s;#{}$]+', String), # catch all
(r'/[^\s;#]*', Name), # pathname
(r'\s+', Text),
+ (r'[$;]', Text), # leftover characters
],
}