summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorTim Hatch <tim@timhatch.com>2010-06-07 13:16:25 -0700
committerTim Hatch <tim@timhatch.com>2010-06-07 13:16:25 -0700
commit7cacb6b84fba68e967d5668c4da90fb7eb8781d3 (patch)
treef7105d7c01d9b1929ddda5a7d1c314743d3b85ec
parent73e006c82d4292bef430c296bd288000898ee2b9 (diff)
downloadpygments-7cacb6b84fba68e967d5668c4da90fb7eb8781d3.tar.gz
Correctly highlight '..' as an operator for Lua
-rw-r--r--pygments/lexers/agile.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/pygments/lexers/agile.py b/pygments/lexers/agile.py
index a2341429..fb10a1c9 100644
--- a/pygments/lexers/agile.py
+++ b/pygments/lexers/agile.py
@@ -1029,9 +1029,9 @@ class LuaLexer(RegexLexer):
(r'[^\S\n]', Text),
# multiline strings
(r'(?s)\[(=*)\[.*?\]\1\]', String),
- (r'[\[\]\{\}\(\)\.,:;]', Punctuation),
(r'(==|~=|<=|>=|\.\.|\.\.\.|[=+\-*/%^<>#])', Operator),
+ (r'[\[\]\{\}\(\)\.,:;]', Punctuation),
(r'(and|or|not)\b', Operator.Word),
('(break|do|else|elseif|end|for|if|in|repeat|return|then|until|'