diff options
author | Kristian Lyngstol <kly@kly.no> | 2016-02-09 13:26:40 +0100 |
---|---|---|
committer | Kristian Lyngstol <kly@kly.no> | 2016-02-09 13:26:40 +0100 |
commit | da15e951b07dbc2e5a2eab37f9964c922943b1fa (patch) | |
tree | 245003e432eca78f40ee3e60f96af6887749e02f /pygments/lexers/php.py | |
parent | 4aad47cd014b56539731b78c648b6f570aec4b34 (diff) | |
download | pygments-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