vim-haproxy
vim-haproxy copied to clipboard
An up-to-date vim plugin for syntax highlighting HAproxy configuration file
vim-haproxy
This is a Vim plugin that provides HAProxy file detection and syntax highlighting.
Features
vim-haproxy provides:
- Highlighting of every known option, up to the 2.2 version of HAProxy
- Highlighting of bad arguments as Error :
Installation
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
Pathogen
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
Plug
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.
Vundle
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.
Need help?
If you have any problem using this plugin please let me know by opening a new issue.
Code of Conduct
See the CODE_OF_CONDUCT file.
License
See the LICENSE file.