[gtksourceview/gnome-3-24] language-specs: Add a content type for python3.lang



commit 416aaec5f79351920d94803da4ec047165d7646c
Author: Philip Withnall <withnall endlessm com>
Date:   Thu Mar 2 12:02:32 2017 +0000

    language-specs: Add a content type for python3.lang
    
    Bug #100034 in shared-mime-info adds a new text/x-python3 content type
    to distinguish Python 3 files from Python 2. Use that if available to
    select python3.lang over python.lang.
    
    See https://bugs.freedesktop.org/show_bug.cgi?id=100034.
    
    https://bugzilla.gnome.org/show_bug.cgi?id=779468

 data/language-specs/python3.lang |    1 +
 1 files changed, 1 insertions(+), 0 deletions(-)
---
diff --git a/data/language-specs/python3.lang b/data/language-specs/python3.lang
index 8526154..5bd0030 100644
--- a/data/language-specs/python3.lang
+++ b/data/language-specs/python3.lang
@@ -23,6 +23,7 @@
 -->
 <language id="python3" _name="Python 3" version="2.0" _section="Script">
   <metadata>
+    <property name="mimetypes">text/x-python3</property>
     <property name="globs">*.py3</property>
     <property name="line-comment-start">#</property>
   </metadata>


[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]