summaryrefslogtreecommitdiff
path: root/pygments/lexers/solidity.py
diff options
context:
space:
mode:
authorMichael Rodler <michael.rodler@paluno.uni-due.de>2022-12-03 16:48:22 +0100
committerGeorg Brandl <georg@python.org>2022-12-03 18:41:07 +0100
commit0a3d4002cc269281fd2ddecb547fb26a90459512 (patch)
tree31f62b7c73357b1dec24c410f6d183cc4d4635ce /pygments/lexers/solidity.py
parent864afa7bbd002a69c9eaecce2b41e748f8e8344c (diff)
downloadpygments-git-0a3d4002cc269281fd2ddecb547fb26a90459512.tar.gz
fix solidity lexer not picking up many of the language operators
Diffstat (limited to 'pygments/lexers/solidity.py')
-rw-r--r--pygments/lexers/solidity.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/pygments/lexers/solidity.py b/pygments/lexers/solidity.py
index adef85c1..56a72682 100644
--- a/pygments/lexers/solidity.py
+++ b/pygments/lexers/solidity.py
@@ -59,7 +59,7 @@ class SolidityLexer(RegexLexer):
(datatype, Keyword.Type),
include('constants'),
(r'[a-zA-Z_]\w*', Text),
- (r'[!<=>+*/-]', Operator),
+ (r'[~!%^&*+=|?:<>/-]', Operator),
(r'[.;:{}(),\[\]]', Punctuation)
],
'comments': [