[gtksourceview] language-specs: Add systemd and D-Bus MIME types to ini.lang
- From: Philip Withnall <pwithnall src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [gtksourceview] language-specs: Add systemd and D-Bus MIME types to ini.lang
- Date: Wed, 11 Jan 2017 12:02:27 +0000 (UTC)
commit 32f6fbeabb78d60ed0000f5c56365e5377df4d34
Author: Philip Withnall <withnall endlessm com>
Date: Tue Dec 20 18:16:58 2016 +0000
language-specs: Add systemd and D-Bus MIME types to ini.lang
systemd unit files (*.service, etc.) and D-Bus service files (*.service) are
a common use of INI formatting, so it would be nice to detect them by
default.
This relies on the new MIME types added for them in shared-mime-info, so
will not work with older version of shared-mime-info.
(See https://bugs.freedesktop.org/show_bug.cgi?id=99297.)
https://bugzilla.gnome.org/show_bug.cgi?id=776319
data/language-specs/ini.lang | 2 +-
1 files changed, 1 insertions(+), 1 deletions(-)
---
diff --git a/data/language-specs/ini.lang b/data/language-specs/ini.lang
index 83f4cc2..3e2ae64 100644
--- a/data/language-specs/ini.lang
+++ b/data/language-specs/ini.lang
@@ -21,7 +21,7 @@
-->
<language id="ini" _name=".ini" version="2.0" _section="Other">
<metadata>
- <property name="mimetypes">text/x-ini-file;application/x-ini-file</property>
+ <property
name="mimetypes">text/x-ini-file;application/x-ini-file;text/x-systemd-unit;text/x-dbus-service</property>
<property name="globs">*.ini</property>
<property name="line-comment-start">;</property>
</metadata>
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]