Don't have registry update any editors before initial packages are loaded

This commit is contained in:
Max Brunsfeld
2016-08-15 15:29:27 -07:00
parent 1c99c399d1
commit 4bcdbf4d2f
3 changed files with 103 additions and 27 deletions

View File

@@ -191,7 +191,8 @@ class AtomEnvironment extends Model
@commandInstaller = new CommandInstaller(@getVersion(), @applicationDelegate)
@textEditors = new TextEditorRegistry({
@config, grammarRegistry: @grammars, assert: @assert.bind(this), @clipboard
@config, grammarRegistry: @grammars, assert: @assert.bind(this), @clipboard,
packageManager: @packages
})
@workspace = new Workspace({