You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
`lighter` uses the grammars from the `tm-grammars` package. When a grammar is updated you can use the new version by updating the `tm-grammars` package. But when a new grammar is added to `tm-grammars` we need to release a new version of `lighter` to include it.
4
+
5
+
To release a new version including new grammars:
6
+
7
+
- Update and download the `tm-grammars` dependency
8
+
- Run `yarn regenerate`
9
+
- Add a changeset (`yarn changeset`)
10
+
- Commit and push the changes
11
+
12
+
## "Fetching resource from network" warning
13
+
14
+
Sometimes `lighter` fails to use the file system to get the grammars or themes, as a fallback it tries to fetch them from the network.
15
+
16
+
This is expected if you use `lighter` from the browser (or from an edge runtime which identifies itself as a browser).
0 commit comments