Reload grammar with edit session path changes

This commit is contained in:
Kevin Sawicki
2013-01-08 17:12:08 -08:00
parent d9385888c8
commit 61600fcdf1
2 changed files with 7 additions and 1 deletions

View File

@@ -505,6 +505,7 @@ class Editor extends View
@showBufferConflictAlert(@activeEditSession)
@activeEditSession.on "path-changed.editor", =>
@reloadGrammar()
@trigger 'editor:path-changed'
@trigger 'editor:path-changed'