Add a shim for the GrammarRegistry.grammars property

This commit is contained in:
Max Brunsfeld
2017-11-29 11:23:56 -08:00
parent 9006d05d4f
commit 515ed5602e

View File

@@ -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)
}