Skip to content

Latest commit

 

History

History
38 lines (23 loc) · 788 Bytes

README.md

File metadata and controls

38 lines (23 loc) · 788 Bytes

vim-varnish

Vim and Neovim syntax highlighting support for Varnish Configuration Language (VCL).

Installation

packer

  • use 'varnishcache-friends/vim-varnish'

Pathogen

  • git clone --depth=1 https://github.com/varnishcache-friends/vim-varnish ~/.vim/bundle/vim-varnish

vim-plug

  • Add Plug 'varnishcache-friends/vim-varnish' to ~/.vimrc
  • :PlugInstall or $ vim +PlugInstall +qall

Features

Folding

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

License

This plugin is licensed under BSD license. See LICENSE for details.