Skip to content

Commit fbd3d86

Browse files
committed
Switch from RubyLexer to CLexer
1 parent 99ec22c commit fbd3d86

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

doc/conf.py

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -5,11 +5,11 @@
55
import sys, os
66
from sphinx.highlighting import lexers
77
from pygments.lexers.web import PhpLexer
8-
from pygments.lexers.agile import RubyLexer
8+
from pygments.lexers.compiled import CLexer
99

1010
lexers['php'] = PhpLexer(startinline=True, linenos=1)
11-
lexers['varnish3'] = RubyLexer()
12-
lexers['varnish4'] = RubyLexer()
11+
lexers['varnish3'] = CLexer()
12+
lexers['varnish4'] = CLexer()
1313

1414
on_rtd = os.environ.get('READTHEDOCS', None) == 'True'
1515
if not on_rtd: # only import and set the theme if we're building docs locally

0 commit comments

Comments
 (0)