[gtksourceview/gnome-3-24] language-specs: Add systemd and D-Bus MIME types to ini.lang
- From: Sébastien Wilmet <swilmet src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [gtksourceview/gnome-3-24] language-specs: Add systemd and D-Bus MIME types to ini.lang
- Date: Wed, 11 Jan 2017 12:32:59 +0000 (UTC)
commit 65a2bef7e161ec77777408823bbe813874ffb323
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 562cea9..e213851 100644
--- a/data/language-specs/ini.lang
+++ b/data/language-specs/ini.lang
@@ -22,7 +22,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]