aboutsummaryrefslogtreecommitdiff
path: root/helix-core
diff options
context:
space:
mode:
authorSlin Lee2022-03-22 10:52:57 +0000
committerGitHub2022-03-22 10:52:57 +0000
commit79477ec6e70f43722cb0cc43f4ee6928dd6c7faf (patch)
tree1c6d75ec40101a6b359a9a820c975e841a989327 /helix-core
parent3c79bf51170caf09642da3cc23ba389ed57a79ac (diff)
Fix typo in query parsing error message (#1856)
Diffstat (limited to 'helix-core')
-rw-r--r--helix-core/src/syntax.rs2
1 files changed, 1 insertions, 1 deletions
diff --git a/helix-core/src/syntax.rs b/helix-core/src/syntax.rs
index f76683b9..d3750e75 100644
--- a/helix-core/src/syntax.rs
+++ b/helix-core/src/syntax.rs
@@ -381,7 +381,7 @@ impl LanguageConfiguration {
&injections_query,
&locals_query,
)
- .unwrap_or_else(|query_error| panic!("Could not parse queries for language {:?}. Are your grammars out of sync? Try running 'hx --grammar build' and 'hx --grammar build'. This query could not be parsed: {:?}", self.language_id, query_error));
+ .unwrap_or_else(|query_error| panic!("Could not parse queries for language {:?}. Are your grammars out of sync? Try running 'hx --grammar fetch' and 'hx --grammar build'. This query could not be parsed: {:?}", self.language_id, query_error));
config.configure(scopes);
Some(Arc::new(config))