Skip to content

Commit

Permalink
minor #4418 use the C lexer for Varnish config examples (xabbuh)
Browse files Browse the repository at this point in the history
This PR was merged into the 2.3 branch.

Discussion
----------

use the C lexer for Varnish config examples

Commits
-------

1d84139 use the C lexer for Varnish config examples
  • Loading branch information
wouterj committed Nov 18, 2014
2 parents 97d8f61 + 1d84139 commit 0577559
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions conf.py
Original file line number Diff line number Diff line change
Expand Up @@ -22,8 +22,8 @@

# adding PhpLexer
from sphinx.highlighting import lexers
from pygments.lexers.compiled import CLexer
from pygments.lexers.web import PhpLexer
from pygments.lexers.agile import RubyLexer

# -- General configuration -----------------------------------------------------

Expand Down Expand Up @@ -101,9 +101,9 @@
lexers['php-annotations'] = PhpLexer(startinline=True)
lexers['php-standalone'] = PhpLexer(startinline=True)
lexers['php-symfony'] = PhpLexer(startinline=True)
lexers['varnish2'] = RubyLexer()
lexers['varnish3'] = RubyLexer()
lexers['varnish4'] = RubyLexer()
lexers['varnish2'] = CLexer()
lexers['varnish3'] = CLexer()
lexers['varnish4'] = CLexer()

config_block = {
'varnish2': 'Varnish 2',
Expand Down

0 comments on commit 0577559

Please sign in to comment.