Joorem / vim-haproxy

An up-to-date vim plugin for syntax highlighting HAproxy configuration file

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

gruvbox8 palenight sonokai nord

vim-haproxy

This is a Vim plugin that provides HAProxy file detection and syntax highlighting.

Features

vim-haproxy provides:

  1. Highlighting of every known option, up to the 2.2 version of HAProxy
  2. Highlighting of bad arguments as Error :

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.

About

An up-to-date vim plugin for syntax highlighting HAproxy configuration file

License:GNU General Public License v3.0


Languages

Language:Vim Script 100.0%