mirror of
https://github.com/atom/atom.git
synced 2026-02-15 00:55:14 -05:00
Use atom.config instead of window.config
This commit is contained in:
@@ -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?
|
||||
|
||||
Reference in New Issue
Block a user