mirror of
https://github.com/atom/atom.git
synced 2026-01-23 05:48:10 -05:00
Read metadata when TextMate packages are loaded
The bundled TextMate packages contain valid package metadata which should be available when displaying in the packages settings view.
This commit is contained in:
@@ -27,6 +27,8 @@ class TextMatePackage extends Package
|
||||
@metadata = {@name}
|
||||
|
||||
load: ({sync}={}) ->
|
||||
@metadata = Package.loadMetadata(@path, true)
|
||||
|
||||
if sync
|
||||
@loadGrammarsSync()
|
||||
@loadScopedPropertiesSync()
|
||||
|
||||
Reference in New Issue
Block a user