Commit message (Collapse) | Author | Age | |
---|---|---|---|
* | only fetch git-sourced grammars | Michael Davis | 2022-03-10 |
| | | | | | | This is a bit of a micro-optimization: in the current setup we waste a thread in the pool for a local grammar only to println! a message saying we're skipping fetching because it's a local grammar. | ||
* | shallow clone | Skyler Hawthorne | 2022-03-10 |
| | |||
* | fix context in error | Skyler Hawthorne | 2022-03-10 |
| | |||
* | migrate grammar fetching/building code into helix-loader crate | Michael Davis | 2022-03-10 |
This is a rather large refactor that moves most of the code for loading, fetching, and building grammars into a new helix-loader module. This works well with the [[grammars]] syntax for languages.toml defined earlier: we only have to depend on the types for GrammarConfiguration in helix-loader and can leave all the [[language]] entries for helix-core. |