This is a Vim plugin that provides HAProxy file detection and syntax highlighting.
vim-haproxy provides:
- Highlighting of every known option, up to the 2.2 version of HAProxy
- Highlighting of bad arguments as Error :
Use your favorite plugin manager, if you don't yet have one take a look at vim-plug. For this plugin to work you need to add some configuration lines to tell Vim to use the syntax and filetype functionalities:
syntax enable
filetype plugin indent on
To install this plugin with Pathogen just clone this repository to
your bundle directory, and ensure you have the line execute pathogen#infect()
in your ~/.vimrc
file. You can run the following command in your terminal to
do so:
git clone https://github.com/Joorem/vim-haproxy ~/.vim/bundle/vim-haproxy
To install this plugin with vim-plug just add the following line to
your ~/.vimrc
file:
Plug 'Joorem/vim-haproxy'
Then run :PlugInstall
in Vim or $ vim +PlugInstall +qall
.
To install this plugin with Vundle just add the following line to your
~/.vimrc
file:
Plugin 'Joorem/vim-haproxy'
Then run :PluginInstall
in Vim or $ vim +PluginInstall +qall
.
If you have any problem using this plugin please let me know by opening a new issue.
See the CODE_OF_CONDUCT file.
See the LICENSE file.