Vim and Neovim syntax highlighting support for Varnish Configuration Language (VCL).
use 'varnishcache-friends/vim-varnish'
git clone --depth=1 https://github.com/varnishcache-friends/vim-varnish ~/.vim/bundle/vim-varnish
- Add
Plug 'varnishcache-friends/vim-varnish'
to~/.vimrc
:PlugInstall
or$ vim +PlugInstall +qall
Setting g:vcl_fold
enables folding VCL via the syntax engine.
Any block, comment, or inline-C that extends over more than one
line can be folded using the standard Vim and Neovim fold-commands.
This option is off by default.
" Default
let g:vcl_fold = 0
This plugin is licensed under BSD license. See LICENSE for details.