highlight JSON with js mode

--HG--
branch : pmacs2
This commit is contained in:
Erik Osheim 2011-08-17 23:54:56 -04:00
parent b688872ae9
commit 809ac2f3f8
1 changed files with 2 additions and 2 deletions

View File

@ -113,11 +113,11 @@ class RhinoLoadFile(RhinoStart):
class JavascriptTagManager(TagManager): class JavascriptTagManager(TagManager):
lang = 'Javascript' lang = 'Javascript'
exts = set(('.js',)) exts = set(('.js', '.json'))
class Javascript(Fundamental): class Javascript(Fundamental):
name = 'Javascript' name = 'Javascript'
extensions = ['.js'] extensions = ['.js', '.json']
grammar = JavascriptGrammar grammar = JavascriptGrammar
tabbercls = JavascriptTabber2 tabbercls = JavascriptTabber2
tagcls = JavascriptTagManager tagcls = JavascriptTagManager