diff options
author | Michael Davis | 2022-08-25 22:24:09 +0000 |
---|---|---|
committer | Blaž Hrastnik | 2022-08-31 08:45:23 +0000 |
commit | 4e4c6da3bfdea0e50e460298eedf41d835f2a551 (patch) | |
tree | 54d82fb907d7e01d61fea6ceb3ada7584117c916 /helix-core/src/syntax.rs | |
parent | fa1dc7e5086e598eb04a34407d8c09e5605b3760 (diff) |
Add query-check xtask
Diffstat (limited to 'helix-core/src/syntax.rs')
-rw-r--r-- | helix-core/src/syntax.rs | 2 |
1 files changed, 1 insertions, 1 deletions
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<Regex> = Lazy::new(|| Regex::new(r";+\s*inherits\s*:?\s*([a-z_,()-]+)\s*").unwrap()); |