getGrammarScopeDescriptor -> getRootScopeDescriptor

This commit is contained in:
Ben Ogle
2014-10-07 17:49:16 -07:00
parent d7cd0de0f8
commit f2d480fc72
3 changed files with 14 additions and 14 deletions

View File

@@ -416,7 +416,7 @@ TextEditorComponent = React.createClass
@scopedConfigSubscriptions?.dispose()
@scopedConfigSubscriptions = subscriptions = new CompositeDisposable
scopeDescriptor = editor.getGrammarScopeDescriptor()
scopeDescriptor = editor.getRootScopeDescriptor()
subscriptions.add atom.config.observe scopeDescriptor, 'editor.showIndentGuide', @setShowIndentGuide
subscriptions.add atom.config.observe scopeDescriptor, 'editor.showLineNumbers', @setShowLineNumbers