Skip to content

varnishcache-friends/vim-varnish

main
Switch branches/tags

Name already in use

A tag already exists with the provided branch name. Many Git commands accept both tag and branch names, so creating this branch may cause unexpected behavior. Are you sure you want to create this branch?
Code

Latest commit

 

Git stats

Files

Permalink
Failed to load latest commit information.
Type
Name
Latest commit message
Commit time
 
 
 
 
 
 
 
 
 
 
 
 

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.

About

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

Topics

Resources

License

Stars

Watchers

Forks

Packages

No packages published