• Packages
  • Themes
  • Documentation
  • Blog
  • Discussions
Sign in

language-haproxy

Syntax support for HAProxy configuration files
abulimov
2.0.0 5,044
5
  • Repo
  • Bugs
  • Versions
  • License
Flag as spam or malicious

HAProxy syntax support in Atom

Adds syntax highlighting to HAProxy configuration files in Atom. Based on now unavailable HAProxy.tmbundle.

Syntax highlighting is partially auto-generated with script generate.py. This script parses configuration.txt from haproxy.org and generates haproxy.cson from haproxy.cson.template.

Updating grammars

Manual update

Update grammars/haproxy.cson. When done, make same changes in haproxy.cson.template, which is used for generating grammars from HAProxy docs.

Updating from docs

Make changes in haproxy.cson.template or (in case of new HAProxy release) provide new HAProxy docs. Download HAProxy configuration.txt for latest stable version from haproxy.org, and run python3 ./generate.py -d path/to/configuration.txt --out grammars/haproxy.cson.

I think this package is bad news.

Good catch. Let us know what about this package looks wrong to you, and we'll investigate right away.

  • Terms of Use
  • Privacy
  • Code of Conduct
  • Releases
  • FAQ
  • Contact
with by