mirror of
https://github.com/atom/atom.git
synced 2026-04-06 03:02:13 -04:00
Parameterize config on editor instead of using global atom.config
This commit is contained in:
@@ -458,7 +458,7 @@ class Workspace extends Model
|
||||
@buildTextEditor(_.extend({buffer, largeFileMode}, options))
|
||||
|
||||
buildTextEditor: (params) ->
|
||||
new TextEditor(params)
|
||||
new TextEditor(_.extend({@config}, params))
|
||||
|
||||
# Public: Asynchronously reopens the last-closed item's URI if it hasn't already been
|
||||
# reopened.
|
||||
|
||||
Reference in New Issue
Block a user