From 4e4c6da3bfdea0e50e460298eedf41d835f2a551 Mon Sep 17 00:00:00 2001 From: Michael Davis Date: Thu, 25 Aug 2022 17:24:09 -0500 Subject: Add query-check xtask --- helix-core/src/syntax.rs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'helix-core/src/syntax.rs') diff --git a/helix-core/src/syntax.rs b/helix-core/src/syntax.rs index 06e9cbc0..6ec56bde 100644 --- a/helix-core/src/syntax.rs +++ b/helix-core/src/syntax.rs @@ -334,7 +334,7 @@ impl TextObjectQuery { } } -fn read_query(language: &str, filename: &str) -> String { +pub fn read_query(language: &str, filename: &str) -> String { static INHERITS_REGEX: Lazy = Lazy::new(|| Regex::new(r";+\s*inherits\s*:?\s*([a-z_,()-]+)\s*").unwrap()); -- cgit v1.2.3-70-g09d2