Add support for the Varnish VCL edge scripting language

This commit is contained in:
Simon Wistow
2014-06-06 12:59:50 -07:00
parent 44c5413abf
commit 7cd23036a7
4 changed files with 398 additions and 3 deletions

View File

@@ -2170,6 +2170,14 @@ UnrealScript:
extensions:
- .uc
VCL:
type: programming
lexer: Perl
ace_mode: perl
color: "#0298c3"
extensions:
- .vcl
VHDL:
type: programming
lexer: vhdl

View File

@@ -615,6 +615,9 @@
"UnrealScript": [
".uc"
],
"VCL": [
".vcl"
],
"Verilog": [
".v"
],
@@ -734,8 +737,8 @@
".gemrc"
]
},
"tokens_total": 613712,
"languages_total": 802,
"tokens_total": 614257,
"languages_total": 804,
"tokens": {
"ABAP": {
"*/**": 1,
@@ -63723,6 +63726,87 @@
"log": 1,
"defaultproperties": 1
},
"VCL": {
"sub": 23,
"vcl_recv": 2,
"{": 50,
"if": 14,
"(": 50,
"req.request": 18,
"&&": 14,
")": 50,
"return": 33,
"pipe": 4,
";": 48,
"}": 50,
"pass": 9,
"req.http.Authorization": 2,
"||": 4,
"req.http.Cookie": 2,
"lookup": 2,
"vcl_pipe": 2,
"vcl_pass": 2,
"vcl_hash": 2,
"set": 10,
"req.hash": 3,
"+": 17,
"req.url": 2,
"req.http.host": 4,
"else": 3,
"server.ip": 2,
"hash": 2,
"vcl_hit": 2,
"obj.cacheable": 2,
"deliver": 8,
"vcl_miss": 2,
"fetch": 3,
"vcl_fetch": 2,
"obj.http.Set": 1,
"-": 21,
"Cookie": 2,
"obj.prefetch": 1,
"s": 3,
"vcl_deliver": 2,
"vcl_discard": 1,
"discard": 2,
"vcl_prefetch": 1,
"vcl_timeout": 1,
"vcl_error": 2,
"obj.http.Content": 2,
"Type": 2,
"synthetic": 2,
"utf": 2,
"//W3C//DTD": 2,
"XHTML": 2,
"Strict//EN": 2,
"http": 3,
"//www.w3.org/TR/xhtml1/DTD/xhtml1": 2,
"strict.dtd": 2,
"obj.status": 4,
"obj.response": 6,
"req.xid": 2,
"//www.varnish": 1,
"cache.org/": 1,
"req.restarts": 1,
"req.http.x": 1,
"forwarded": 1,
"for": 1,
"req.http.X": 3,
"Forwarded": 3,
"For": 3,
"client.ip": 2,
"hash_data": 3,
"beresp.ttl": 2,
"<": 1,
"beresp.http.Set": 1,
"beresp.http.Vary": 1,
"hit_for_pass": 1,
"obj.http.Retry": 1,
"After": 1,
"vcl_init": 1,
"ok": 2,
"vcl_fini": 1
},
"Verilog": {
"////////////////////////////////////////////////////////////////////////////////": 14,
"//": 117,
@@ -66969,6 +67053,7 @@
"TXL": 213,
"TypeScript": 109,
"UnrealScript": 2873,
"VCL": 545,
"Verilog": 3778,
"VHDL": 42,
"VimL": 20,
@@ -67157,6 +67242,7 @@
"TXL": 1,
"TypeScript": 3,
"UnrealScript": 2,
"VCL": 2,
"Verilog": 13,
"VHDL": 1,
"VimL": 2,
@@ -67173,5 +67259,5 @@
"Zephir": 2,
"Zimpl": 1
},
"md5": "4754c31a712c5e22354851fd14d4d4fa"
"md5": "e69777074750ed98faadf08497ba6339"
}