Add Roc lexer · pygments/pygments@c04cc1c · GitHub
Skip to content

Commit c04cc1c

Browse files
committed
Add Roc lexer
1 parent 156d85f commit c04cc1c

10 files changed

Lines changed: 5387 additions & 0 deletions

File tree

‎CHANGES‎

Lines changed: 4 additions & 0 deletions

‎pygments/lexers/_mapping.py‎

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -456,6 +456,7 @@
456456
'RoboconfGraphLexer': ('pygments.lexers.roboconf', 'Roboconf Graph', ('roboconf-graph',), ('*.graph',), ()),
457457
'RoboconfInstancesLexer': ('pygments.lexers.roboconf', 'Roboconf Instances', ('roboconf-instances',), ('*.instances',), ()),
458458
'RobotFrameworkLexer': ('pygments.lexers.robotframework', 'RobotFramework', ('robotframework',), ('*.robot', '*.resource'), ('text/x-robotframework',)),
459+
'RocLexer': ('pygments.lexers.roc', 'Roc', ('roc',), ('*.roc',), ('text/x-roc',)),
459460
'RocqLexer': ('pygments.lexers.theorem', 'Rocq Prover', ('coq', 'rocq', 'rocq-prover'), ('*.v',), ('text/x-coq', 'text/x-rocq')),
460461
'RqlLexer': ('pygments.lexers.sql', 'RQL', ('rql',), ('*.rql',), ('text/x-rql',)),
461462
'RslLexer': ('pygments.lexers.dsls', 'RSL', ('rsl',), ('*.rsl',), ('text/rsl',)),

‎pygments/lexers/roc.py‎

Lines changed: 109 additions & 0 deletions

0 commit comments

Comments
 (0)