Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add rudimentary roff support #99

Closed
wants to merge 3 commits into from
Closed

Conversation

suve
Copy link
Contributor

@suve suve commented Dec 11, 2017

This changeset adds roff.php, which provides some basic support for syntax highlighting in roff documents. roff is nowadays mostly used for writing man pages.

@BenBE
Copy link
Contributor

BenBE commented Oct 1, 2018

Please have a look at the issues reported at https://travis-ci.org/GeSHi/geshi-1.0/jobs/314911246#L511

If you need some help with solving those issues feel free to ask for details. You also may be able to resolve the issues by comparing your language file with files already included with GeSHi.

@suve
Copy link
Contributor Author

suve commented Oct 2, 2018

Fixed by amending the commit. Travis reports some new issues now:

[WARNING] Language file does not contain a specification of the release version!
[WARNING] Language file does not state that it is a language file for GeSHi!

Help with fixing these would be welcome.

@splitbrain splitbrain mentioned this pull request Oct 17, 2019
@BenBE
Copy link
Contributor

BenBE commented Oct 20, 2019

Not quite happy in the way the language file works, as [] and ( should be matched as keyword prefixes (See PARSER CONTROL) to speed up matching.

Merged for now as part of #128. But I'd be glad, if things could be updated to use the proper before/after keyword regexps in the parser control to make matches a bit faster and more precise.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

2 participants