mirror of
https://github.com/atom/atom.git
synced 2026-01-23 05:48:10 -05:00
Make sure the scope data attribute is always set
This commit is contained in:
@@ -582,6 +582,7 @@ class EditorView extends View
|
||||
|
||||
@trigger 'editor:path-changed'
|
||||
@resetDisplay()
|
||||
@addGrammarScopeAttribute()
|
||||
|
||||
if @attached and @editor.buffer.isInConflict()
|
||||
_.defer => @showBufferConflictAlert(@editor) # Display after editor has a chance to display
|
||||
|
||||
Reference in New Issue
Block a user