Skip to content

Commit 0416935

Browse files
committed
Add sess.timeout_idle
1 parent 5c85215 commit 0416935

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

syntax/vcl.vim

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
" vim syntax file
22
" Language: Varnish Configuration Language
33
" Maintainer: Federico G. Schwindt <[email protected]>
4-
" Last Change: 2019 Apr 2
4+
" Last Change: 2019 Jun 28
55
if version < 600
66
syntax clear
77
elseif exists("b:current_syntax")
@@ -34,7 +34,7 @@ syn match vclVariable "\v<(resp\.body|resp\.do_esi|resp\.filters|resp\.http\.
3434
syn match vclVariable "\v<(bereq\.backend|bereq\.between_bytes_timeout|bereq\.body|bereq\.connect_timeout|bereq\.first_byte_timeout|bereq\.hash|bereq\.http\.[a-zA-Z0-9_-]+|bereq\.is_bgfetch|bereq\.method|bereq\.proto|bereq\.retries|bereq\.uncacheable|bereq\.url|bereq\.xid|bereq)" contained
3535
syn match vclVariable "\v<(beresp\.age|beresp\.backend\.ip|beresp\.backend\.name|beresp\.backend\.port|beresp\.backend|beresp\.body|beresp\.do_esi|beresp\.do_gunzip|beresp\.do_gzip|beresp\.do_stream|beresp\.filters|beresp\.grace|beresp\.http\.[a-zA-Z0-9_-]+|beresp\.keep|beresp\.proto|beresp\.reason|beresp\.stainmode|beresp\.status|beresp\.storage|beresp\.storage_hint|beresp\.ttl|beresp\.uncacheable|beresp\.was_304|beresp)>" contained
3636
syn match vclVariable "\v<(obj\.age|obj\.grace|obj\.hits|obj\.http\.[a-zA-Z0-9_-]+|obj\.keep|obj\.lastuse|obj\.proto|obj\.reason|obj\.response|obj\.status|obj\.storage|obj\.ttl|obj\.uncacheable|obj)>" contained
37-
syn match vclVariable "\v<(sess.xid)>" contained
37+
syn match vclVariable "\v<(sess\.timeout_idle|sess\.xid)>" contained
3838
syn match vclVariable "\v<(storage\.[a-zA-Z0-9_-]+\.(free_space|happy|used_space)|storage\.[a-zA-Z0-9_-]+)>" contained
3939

4040
hi def link vclConstant Constant

0 commit comments

Comments
 (0)