GeSHi language file for nginx config

Cliff Wells cliff at
Tue Aug 24 21:23:53 MSD 2010


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.


On Tue, 2010-08-24 at 13:10 -0400, brianmercer wrote:
> 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:,123194,123194#msg-123194
> _______________________________________________
> nginx mailing list
> nginx at

-------------- next part --------------
A non-text attachment was scrubbed...
Name: nginx.php
Type: application/x-php
Size: 12599 bytes
Desc: not available
URL: <>

More information about the nginx mailing list