mirror of
https://github.com/atom/atom.git
synced 2026-02-09 22:24:59 -05:00
load all bundle grammars in window.startup
This commit is contained in:
@@ -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()
|
||||
|
||||
Reference in New Issue
Block a user