Skip to content
This repository was archived by the owner on Aug 5, 2022. It is now read-only.

Commit ca8e809

Browse files
committed
Update README.md
1 parent 96d25b2 commit ca8e809

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

README.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -31,7 +31,7 @@ An extension matcher will be converted into a RegExp matcher. The example above
3131
To see all available grammars registered in your Atom instance, open the Developer Tools Console and execute the following:
3232

3333
```javascript
34-
console.log(Object.keys(atom.grammars.grammarsByScopeName).sort().join("\n"))
34+
console.log(atom.grammars.getGrammars().map(g => g.scopeName).sort().join('\n'))
3535
```
3636

3737
## RegExp Matchers

0 commit comments

Comments
 (0)