Open icecream17 opened 2 years ago
https://flight-manual.atom.io/api/v1.57.0/GrammarRegistry/ links to the wrong location.
Should be atom@1.57.0/src/grammar-registry.js
But got first-mate@7.4.1/src/grammar-registry.coffee
Reproduces how often:
100%
Discovered by inconsistent types at https://github.com/DefinitelyTyped/DefinitelyTyped/blob/master/types/atom/src/grammar-registry.d.ts which are difference than the actual methods.
It seems that FirstMate's grammar registry is used for GrammarRegistry#textmateRegistry https://github.com/atom/atom/search?q=FirstMate
GrammarRegistry#textmateRegistry
The methods are similar but not exactly the same. For example, GrammarRegistry doesn't have onDidRemoveGrammar
onDidRemoveGrammar
Prerequisites
Done all of the following
Description
https://flight-manual.atom.io/api/v1.57.0/GrammarRegistry/ links to the wrong location.
Should be atom@1.57.0/src/grammar-registry.js
But got first-mate@7.4.1/src/grammar-registry.coffee
Steps to Reproduce
Reproduces how often:
100%
Additional Information
Discovered by inconsistent types at https://github.com/DefinitelyTyped/DefinitelyTyped/blob/master/types/atom/src/grammar-registry.d.ts which are difference than the actual methods.
It seems that FirstMate's grammar registry is used for
GrammarRegistry#textmateRegistry
https://github.com/atom/atom/search?q=FirstMateThe methods are similar but not exactly the same. For example, GrammarRegistry doesn't have
onDidRemoveGrammar