Commit message (Collapse) | Author | Age | ||
---|---|---|---|---|
... | ||||
* | rename '--fetch/build-grammars' flags into '--grammar fetch/build' | Michael Davis | 2022-03-10 | |
| | | | | | The old flags were a bit long. --grammar is also aliased to -g to make it even easier. | |||
* | 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. |