Make sure the scope data attribute is always set

This commit is contained in:
Thomas Johansen
2014-07-16 23:12:16 +02:00
parent e50887aab8
commit 6b1868efd5

View File

@@ -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