Skip to content

Commit

Permalink
Update and bump version to 0.1.3
Browse files Browse the repository at this point in the history
  • Loading branch information
fgsch committed May 23, 2020
1 parent 8492b74 commit ab12d65
Show file tree
Hide file tree
Showing 2 changed files with 8 additions and 3 deletions.
5 changes: 5 additions & 0 deletions CHANGES.md
Original file line number Diff line number Diff line change
@@ -1,3 +1,8 @@
## 0.1.3 - 2020-05-23

* Add obj.can\_esi, sess.idle\_send\_timeout, sess.send\_timeout
and sess.timeout\_linger.

## 0.1.2 - 2019-11-02

* Control folding with g:vcl\_fold.
Expand Down
6 changes: 3 additions & 3 deletions syntax/vcl.vim
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
" vim syntax file
" Language: Varnish Configuration Language
" Maintainer: Federico G. Schwindt <[email protected]>
" Last Change: 2019 Nov 2
" Last Change: 2020 May 23
if version < 600
syntax clear
elseif exists("b:current_syntax")
Expand Down Expand Up @@ -33,8 +33,8 @@ syn match vclVariable "\v<(req\.backend\.healthy|req\.backend_hint|req\.backe
syn match vclVariable "\v<(resp\.body|resp\.do_esi|resp\.filters|resp\.http\.[a-zA-Z0-9_-]+|resp\.is_streaming|resp\.proto|resp\.reason|resp\.status|resp)>" contained
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
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
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
syn match vclVariable "\v<(sess\.timeout_idle|sess\.xid)>" contained
syn match vclVariable "\v<(obj\.age|obj\.can_esi|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
syn match vclVariable "\v<(sess\.idle_send_timeout|sess\.send_timeout|sess\.timeout_idle|sess\.timeout_linger|sess\.xid)>" contained
syn match vclVariable "\v<(storage\.[a-zA-Z0-9_-]+\.(free_space|happy|used_space)|storage\.[a-zA-Z0-9_-]+)>" contained

hi def link vclConstant Constant
Expand Down

0 comments on commit ab12d65

Please sign in to comment.