diff options
author | Matthew Toohey | 2022-05-05 13:47:28 +0000 |
---|---|---|
committer | GitHub | 2022-05-05 13:47:28 +0000 |
commit | a5f4925f53d447bb7201c9a6e7a1c2730f292ae4 (patch) | |
tree | 3e9c1a6d70df846a81d2848898220e0fe9ce01f4 /helix-core/src | |
parent | fc61796895a0175ccfed7f572960dc3cd21e7f04 (diff) |
feat(languages): git-ignore and git-attributes (#2397)
Diffstat (limited to 'helix-core/src')
-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 eab3ab79..9208f0e8 100644 --- a/helix-core/src/syntax.rs +++ b/helix-core/src/syntax.rs @@ -321,7 +321,7 @@ impl TextObjectQuery { 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()); + Lazy::new(|| Regex::new(r";+\s*inherits\s*:?\s*([a-z_,()-]+)\s*").unwrap()); let query = load_runtime_file(language, filename).unwrap_or_default(); |