mirror of https://github.com/helix-editor/helix
Register systemd files as ini (#7592)
parent
9259c52606
commit
a5f7190614
|
@ -2234,7 +2234,26 @@ grammar = "bash"
|
||||||
[[language]]
|
[[language]]
|
||||||
name = "ini"
|
name = "ini"
|
||||||
scope = "source.ini"
|
scope = "source.ini"
|
||||||
file-types = ["ini"]
|
file-types = [
|
||||||
|
"ini",
|
||||||
|
# Systemd unit files
|
||||||
|
"service",
|
||||||
|
"automount",
|
||||||
|
"device",
|
||||||
|
"mount",
|
||||||
|
"path",
|
||||||
|
"service",
|
||||||
|
"slice",
|
||||||
|
"socket",
|
||||||
|
"swap",
|
||||||
|
"target",
|
||||||
|
"timer",
|
||||||
|
# Podman quadlets
|
||||||
|
"container",
|
||||||
|
"volume",
|
||||||
|
"kube",
|
||||||
|
"network"
|
||||||
|
]
|
||||||
injection-regex = "ini"
|
injection-regex = "ini"
|
||||||
comment-token = "#"
|
comment-token = "#"
|
||||||
indent = { tab-width = 4, unit = "\t" }
|
indent = { tab-width = 4, unit = "\t" }
|
||||||
|
|
Loading…
Reference in New Issue