load all bundle grammars in window.startup

This commit is contained in:
Corey Johnson & Nathan Sobo
2012-08-01 17:09:29 -07:00
parent 370e0b896e
commit 058f63c01f
2 changed files with 4 additions and 0 deletions

View File

@@ -2,6 +2,7 @@
# the DOM window.
Native = require 'native'
TextMateGrammar = require 'text-mate-grammar'
fs = require 'fs'
_ = require 'underscore'
$ = require 'jquery'
@@ -30,6 +31,7 @@ windowAdditions =
false
$(window).focus()
atom.windowOpened this
TextMateGrammar.loadFromBundles()
shutdown: ->
@rootView.deactivate()