This is the syntax highlighter for HAProxy/HAPEE configuration files, based on sublime-haproxy Sublime Text package.
See: https://www.haproxy.com/ (HAPEE) http://www.haproxy.org/ (HAProxy)
Note: All changes to the
Haproxy.tmLanguage
file need to go through the upstream project first.
See: https://www.haproxy.com/ (HAPEE) http://www.haproxy.org/ (HAProxy)
- Syntax highlighting for HAProxy configuration files (
haproxy.cfg
), greatly expanded from Sublime Original, and adjusted to better fit VS Code coloring schemas - Basic snippets for most common blocks of configuration text i.e. frontends, backends, listeners, acls, userlists
- A global/default config starter template -- available as a snippet.
Currently it will automatically triger only on files called "haproxy.cfg"
verbatim, but you can always set syntax manually by pressing Ctrl +
K, M and then typing haproxy
or selecting from the drop down.
- Added stick table, stick table aggregator, peers and resolvers syntax
- Integrated the changes from https://github.com/nvtkaszpir/sublime-haproxy
- Simplified regexes for better maintainability
- Additional syntax
- Snippets for common configuration blocks
Initial version of HAProxy for Visual Studio Code -- just repackaged sublime-haproxy