From 4fc991fdeca5db36bd7be7197510e62a019e1677 Mon Sep 17 00:00:00 2001 From: Michael Davis Date: Wed, 16 Feb 2022 07:57:20 -0600 Subject: 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. --- helix-term/Cargo.toml | 1 + 1 file changed, 1 insertion(+) (limited to 'helix-term/Cargo.toml') diff --git a/helix-term/Cargo.toml b/helix-term/Cargo.toml index 93d50d7e..86d72561 100644 --- a/helix-term/Cargo.toml +++ b/helix-term/Cargo.toml @@ -26,6 +26,7 @@ helix-core = { version = "0.6", path = "../helix-core" } helix-view = { version = "0.6", path = "../helix-view" } helix-lsp = { version = "0.6", path = "../helix-lsp" } helix-dap = { version = "0.6", path = "../helix-dap" } +helix-loader = { version = "0.6", path = "../helix-loader" } anyhow = "1" once_cell = "1.10" -- cgit v1.2.3-70-g09d2