[gtksourceview] [javascript] add *.json glob. Fixes bug #617239



commit 1571a1c48566f22c826cb593da53a942d8542d91
Author: Dag Odenhall <dag odenhall gmail com>
Date:   Wed May 25 14:05:32 2011 +0200

    [javascript] add *.json glob. Fixes bug #617239

 data/language-specs/javascript.lang |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)
---
diff --git a/data/language-specs/javascript.lang b/data/language-specs/javascript.lang
index ecdb9ef..5bbc738 100644
--- a/data/language-specs/javascript.lang
+++ b/data/language-specs/javascript.lang
@@ -27,7 +27,7 @@
 <language id="js" _name="JavaScript" version="2.0" _section="Scripts">
     <metadata>
         <property name="mimetypes">application/javascript;application/x-javascript;text/x-javascript;text/javascript;text/x-js</property>
-        <property name="globs">*.js</property>
+        <property name="globs">*.js;*.json</property>
         <property name="line-comment-start">//</property>
         <property name="block-comment-start">/*</property>
         <property name="block-comment-end">*/</property>



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