rouge-ruby / rouge

A pure Ruby code highlighter that is compatible with Pygments
https://rouge.jneen.net/
Other
3.32k stars 732 forks source link

Add support of .resource file extension for RobotFramework #1631

Open theodore86 opened 3 years ago

theodore86 commented 3 years ago

Hi,

It would be nice to have syntax highlighting for RobotFramework .resource (keyword libraries) file extension.

I am rookie with Ruby language syntax but seems to be a small addition in the RobotFramework lexer,

filenames class attribute: filenames '*.robot', '*.resource'

Thanks, Theodore

Zeckie commented 2 years ago

Resource files: https://robotframework.org/robotframework/latest/RobotFrameworkUserGuide.html#example-resource-file Test case files: https://robotframework.org/robotframework/latest/RobotFrameworkUserGuide.html#test-case-syntax

stale[bot] commented 1 year ago

This issue has been automatically marked as stale because it has not had any activity for more than a year. It will be closed if no additional activity occurs within the next 14 days. If you would like this issue to remain open, please reply and let us know if the issue is still reproducible.