mirror of
https://github.com/atom/atom.git
synced 2026-02-14 08:35:11 -05:00
Display editor's grammar name in status bar
Clicking on the grammar name displays the list of available grammars that can be switched to.
This commit is contained in:
@@ -1128,6 +1128,7 @@ class Editor extends View
|
||||
if grammarChanged
|
||||
@clearRenderedLines()
|
||||
@updateDisplay()
|
||||
@trigger 'editor:grammar-changed'
|
||||
grammarChanged
|
||||
|
||||
bindToKeyedEvent: (key, event, callback) ->
|
||||
|
||||
Reference in New Issue
Block a user