-
Notifications
You must be signed in to change notification settings - Fork 2
Open
Labels
Description
Perhaps add an include key to the JSON files so that common features like number highlighting, commenting and strings can be loaded in. Hierarchy should be maintained when loading the files.
{
"includes": [
"strings.json",
"comments.json"
]
}| Pros | Cons |
|---|---|
| Can split common functionality into different files. This will save some time when creating new syntax files | Will take longer to load highlighting as more files have to be read and parsed. |
| Its clearer what is being loaded into the system | Can get messy if different cascading order is needed |