mirror of
https://github.com/helix-editor/helix.git
synced 2025-04-06 12:27:42 +03:00
Add query-check xtask
This commit is contained in:
parent
fa1dc7e508
commit
4e4c6da3bf
5 changed files with 60 additions and 1 deletions
|
@ -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());
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue