Use atom.config instead of window.config

This commit is contained in:
Kevin Sawicki
2013-11-11 09:16:44 -08:00
parent 5756ec45ba
commit a377a49004
22 changed files with 246 additions and 246 deletions

View File

@@ -37,7 +37,7 @@ class TokenizedBuffer
@state = atom.site.createDocument
deserializer: @constructor.name
bufferPath: @buffer.getRelativePath()
tabLength: tabLength ? config.get('editor.tabLength') ? 2
tabLength: tabLength ? atom.config.get('editor.tabLength') ? 2
@subscribe syntax, 'grammar-added grammar-updated', (grammar) =>
if grammar.injectionSelector?