mirror of
https://github.com/atom/atom.git
synced 2026-02-19 02:44:29 -05:00
getGrammarScopeDescriptor -> getRootScopeDescriptor
This commit is contained in:
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user