Add nginx syntax highlighting to helix config

This commit is contained in:
Gnarwhal 2025-04-27 15:42:34 +00:00
parent 55cc0bb810
commit e8986e8e73
Signed by: Gnarwhal
GPG key ID: B9B7561C0C90884D
2 changed files with 14 additions and 1 deletions

View file

@ -38,6 +38,19 @@ indent = { tab-width = 4, unit = "\t" }
name = "markdown" name = "markdown"
indent = { tab-width = 4, unit = "\t" } indent = { tab-width = 4, unit = "\t" }
[[language]]
name = "nginx"
indent = { tab-width = 4, unit = "\t" }
file-types = [
{ glob = "sites-available/*.conf" },
{ glob = "sites-enabled/*.conf" },
{ glob = "nginx.conf" },
{ glob = "conf.d/*.conf" },
{ glob = "http.d/*.conf" },
{ glob = "stream.d/*.conf" },
{ glob = "tor.d/*.conf" },
]
[[language]] [[language]]
name = "toml" name = "toml"
indent = { tab-width = 4, unit = "\t" } indent = { tab-width = 4, unit = "\t" }

@ -1 +1 @@
Subproject commit d6f84f3e7d2515cee8ba776d05ee2009ffd471d7 Subproject commit a84a0332a822a78ddf3f66d0e1ed3990d4badd12