mirror of
https://github.com/atom/atom.git
synced 2026-01-23 13:58:08 -05:00
Add a shim for the GrammarRegistry.grammars property
This commit is contained in:
@@ -339,6 +339,10 @@ class GrammarRegistry {
|
||||
return this.textmateRegistry.nullGrammar
|
||||
}
|
||||
|
||||
get grammars () {
|
||||
return this.textmateRegistry.grammars
|
||||
}
|
||||
|
||||
decodeTokens () {
|
||||
return this.textmateRegistry.decodeTokens.apply(this.textmateRegistry, arguments)
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user