on master help sign in
Register systemd files as ini (#7592)
a5f7190Arian Dehghani
languages.toml+20−1
@@ -2234,7 +2234,26 @@ grammar = "bash"
2234[[language]]
2234[[language]]
2235name = "ini"
2235name = "ini"
2236scope = "source.ini"
2236scope = "source.ini"
2237−file-types = ["ini"]
2237+file-types = [
2238+ "ini",
2239+ # Systemd unit files
2240+ "service",
2241+ "automount",
2242+ "device",
2243+ "mount",
2244+ "path",
2245+ "service",
2246+ "slice",
2247+ "socket",
2248+ "swap",
2249+ "target",
2250+ "timer",
2251+ # Podman quadlets
2252+ "container",
2253+ "volume",
2254+ "kube",
2255+ "network"
2256+]
2238injection-regex = "ini"
2257injection-regex = "ini"
2239comment-token = "#"
2258comment-token = "#"
2240indent = { tab-width = 4, unit = "\t" }
2259indent = { tab-width = 4, unit = "\t" }