summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorArian Dehghani2023-07-12 04:40:58 +0000
committerGitHub2023-07-12 04:40:58 +0000
commita5f7190614342ddff3bbab8cc456c3c28d66d325 (patch)
tree9dc1cf0a4f6dcaadbd3521d0a7ff3758c7a50ef9
parent9259c526062f7e80e7d43c6d2e5ae97e9cf0487a (diff)
Register systemd files as ini (#7592)
-rw-r--r--languages.toml21
1 files changed, 20 insertions, 1 deletions
diff --git a/languages.toml b/languages.toml
index d09c303a..418250b4 100644
--- a/languages.toml
+++ b/languages.toml
@@ -2234,7 +2234,26 @@ grammar = "bash"
[[language]]
name = "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"
comment-token = "#"
indent = { tab-width = 4, unit = "\t" }