Register systemd files as ini (#7592)

pull/7607/head
Arian Dehghani 1 year ago committed by GitHub
parent 9259c52606
commit a5f7190614
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

@ -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…
Cancel
Save