mirror of
https://github.com/atom/atom.git
synced 2026-02-16 01:25:13 -05:00
Merge branch 'remove-view-registry-dependency' into remove-project-dependency
This commit is contained in:
@@ -557,6 +557,8 @@ class Workspace extends Model
|
||||
editor
|
||||
|
||||
handleGrammarUsed: (grammar) ->
|
||||
return unless grammar?
|
||||
|
||||
@packageManager.triggerActivationHook("#{grammar.packageName}:grammar-used")
|
||||
|
||||
# Public: Returns a {Boolean} that is `true` if `object` is a `TextEditor`.
|
||||
|
||||
Reference in New Issue
Block a user