mirror of
https://github.com/atom/atom.git
synced 2026-02-15 00:55:14 -05:00
Trigger grammars-loaded event on syntax
This commit is contained in:
@@ -404,7 +404,7 @@ class Editor extends View
|
||||
@gutter.widthChanged = (newWidth) =>
|
||||
@scrollView.css('left', newWidth + 'px')
|
||||
|
||||
rootView?.on 'grammars-loaded', =>
|
||||
syntax.on 'grammars-loaded', =>
|
||||
@reloadGrammar()
|
||||
for session in @editSessions
|
||||
session.reloadGrammar() unless session is @activeEditSession
|
||||
|
||||
Reference in New Issue
Block a user