summaryrefslogtreecommitdiff
path: root/pygments/lexers/php.py
diff options
context:
space:
mode:
authorKristian Lyngstol <kly@kly.no>2016-02-09 13:26:40 +0100
committerKristian Lyngstol <kly@kly.no>2016-02-09 13:26:40 +0100
commitda15e951b07dbc2e5a2eab37f9964c922943b1fa (patch)
tree245003e432eca78f40ee3e60f96af6887749e02f /pygments/lexers/php.py
parent4aad47cd014b56539731b78c648b6f570aec4b34 (diff)
downloadpygments-git-da15e951b07dbc2e5a2eab37f9964c922943b1fa.tar.gz
Varnish Lexer: Add analyse_text()
It looks for documents starting with 'vcl 4.0;', optionally with comments preceding it. As all valid VCL as of Varnish 4.0 starts with this (even Varnish 4.1), this is pretty much guaranteed to work.
Diffstat (limited to 'pygments/lexers/php.py')
0 files changed, 0 insertions, 0 deletions