mirror of
https://github.com/atom/atom.git
synced 2026-02-04 03:35:20 -05:00
Reload grammar with edit session path changes
This commit is contained in:
@@ -505,6 +505,7 @@ class Editor extends View
|
||||
@showBufferConflictAlert(@activeEditSession)
|
||||
|
||||
@activeEditSession.on "path-changed.editor", =>
|
||||
@reloadGrammar()
|
||||
@trigger 'editor:path-changed'
|
||||
|
||||
@trigger 'editor:path-changed'
|
||||
|
||||
Reference in New Issue
Block a user