GeSHi language file for nginx config

Does anyone have a language file for nginx configurations for the GeSHI
syntax highlighter? Or have you used other syntax highlighter
definitions that I could use to make one? I’ve found one for vim so far
on the web.

Posted at Nginx Forum:
http://forum.nginx.org/read.php?2,123194,123194#msg-123194

Attached.

You need to add a line to get_language_name_from_extension() in
extensions/geshi/geshi/geshi.php like this:

‘nginx’ => array()

and save the attached file to extensions/geshi/geshi/geshi/nginx.php.

Regards,
Cliff

Thanks much.

Cliff W. Wrote:

found one for vim so far

http://nginx.org/mailman/listinfo/nginx


nginx mailing list
[email protected]
http://nginx.org/mailman/listinfo/nginx

Posted at Nginx Forum:
http://forum.nginx.org/read.php?2,123194,123210#msg-123210

Hi,

One of the devs for ‘GeSHi - Generic Syntax Highlighter’ replied back
and
offered to include the nginx language file in the official distribution
if
someone is willing to cleanup some of the issues preventing the file
from
passing the language tests:

http://sourceforge.net/tracker/?func=detail&atid=670234&aid=3554024&group_id=114997

I don’t feel I have the necessary skills to do so, but I plan on giving
it a
shot when I get a chance.

Posted at Nginx Forum:
http://forum.nginx.org/read.php?2,123194,229812#msg-229812

Hi Cliff,

Do you have a recent copy of the nginx.php GeSHi language file? I opened
a request at the SourceForge project tracker here (
https://sourceforge.net/tracker/?func=detail&aid=3554024&group_id=114997&atid=670234
) to have the copy you’ve already provided added, but if there is a
newer file I’d like to provide it to them.

Do you happen to have it in a repo somewhere? I looked through the nginx
SVN repo and didn’t see it there.

Thanks.

Posted at Nginx Forum:
http://forum.nginx.org/read.php?2,123194,229285#msg-229285

This forum is not affiliated to the Ruby language, Ruby on Rails framework, nor any Ruby applications discussed here.

| Privacy Policy | Terms of Service | Remote Ruby Jobs