diff options
author | Michael Davis | 2022-02-16 13:57:20 +0000 |
---|---|---|
committer | Blaž Hrastnik | 2022-03-10 08:31:57 +0000 |
commit | 4fc991fdeca5db36bd7be7197510e62a019e1677 (patch) | |
tree | 03ce0022ba5f6aa71adf1c81214d05db8a84f035 /helix-core/src/indent.rs | |
parent | 08ee949dcb904dc27aa41a62ad686c14c0a406bb (diff) |
migrate grammar fetching/building code into helix-loader crate
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.
Diffstat (limited to 'helix-core/src/indent.rs')
-rw-r--r-- | helix-core/src/indent.rs | 2 |
1 files changed, 0 insertions, 2 deletions
diff --git a/helix-core/src/indent.rs b/helix-core/src/indent.rs index ee9cbb16..30f4a340 100644 --- a/helix-core/src/indent.rs +++ b/helix-core/src/indent.rs @@ -444,8 +444,6 @@ where debugger: None, auto_pairs: None, }], - grammar: vec![], - grammar_selection: None, }); // set runtime path so we can find the queries |