8000 use the C lexer for Varnish config examples by xabbuh · Pull Request #4418 · symfony/symfony-docs · GitHub
[go: up one dir, main page]

Skip to content

use the C lexer for Varnish config examples #4418

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

Merged
merged 1 commit into from
Nov 18, 2014
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
use the C lexer for Varnish config examples
  • Loading branch information
Christian Flothmann committed Nov 4, 2014
commit 1d8413990d6198f1f1f15776fd9fc1625231fb5d
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