From 05f0cd63d0823b036d98cacdb6d69e342fc2851d Mon Sep 17 00:00:00 2001 From: Michael Vorburger Date: Sat, 14 Dec 2024 14:39:48 +0100 Subject: [PATCH] Add `.timer` & various other systemd extensions (fixes #7161) --- lib/linguist/languages.yml | 28 ++++++++++++++++++++++++++++ 1 file changed, 28 insertions(+) diff --git a/lib/linguist/languages.yml b/lib/linguist/languages.yml index b5eebfe281..f201b0697b 100644 --- a/lib/linguist/languages.yml +++ b/lib/linguist/languages.yml @@ -8468,10 +8468,38 @@ crontab: language_id: 705203557 desktop: type: data + # https://en.wikipedia.org/wiki/INI_file + filenames: + - "systemd-system.conf" + - "systemd-user.conf" + - "logind.conf" + - "journald.conf" + - "journal-remote.conf" + - "journal-upload.conf" + - "systemd-sleep.conf" + - "timesyncd.conf" extensions: - ".desktop" - ".desktop.in" + # systemd unit-file types; extensions from + # https://www.freedesktop.org/software/systemd/man/latest/systemd.syntax.html + - ".automount" + - ".device" + - ".link" + - ".mount" + - ".netdev" + - ".network" + - ".nspawn" + - ".path" + - ".scope" - ".service" + - ".slice" + - ".snapshot" + - ".socket" + - ".swap" + - ".target" + - ".timer" + - ".unit" tm_scope: source.desktop ace_mode: text language_id: 412