Skip to content

Latest commit

 

History

History
30 lines (22 loc) · 949 Bytes

README.md

File metadata and controls

30 lines (22 loc) · 949 Bytes

VIM syntax for Haproxy

Install

haproxy.vim follows the standard runtime path structure, so I highly recommend to use a common and well known plugin manager to install it.

  • Pathogen
  • git clone https://github.com/zimbatm/haproxy.vim.git ~/.vim/bundle/haproxy.vim
  • vim-plug
  • Plug 'zimbatm/haproxy.vim'
  • NeoBundle
  • NeoBundle 'zimbatm/haproxy.vim'
  • Vundle
  • Plugin 'zimbatm/haproxy.vim'

Because haproxy uses a generic ".cfg" file extension the syntax is not automatically detected. You've got to add a pragma header like that to the first line of the file:

# vim: set ft=haproxy :

License

Copyright ??? Bruno Michel [email protected], 2015 zimbatm

Cribbed from the original file over here: http://www.haproxy.org/download/contrib/haproxy.vim