on master help sign in
Fix typo in query parsing error message (#1856)
commit79477ec6e70f43722cb0cc43f4ee6928dd6c7faf authorSlin Lee <slin@slinlee.com> dateTue 22 Mar 2022, 03:52 (5 years ago) parent3c79bf5
1 file changed+1−1
helix-core/src/syntax.rs+1−1
helix-core/src/syntax.rs+1−1
@@ -381,7 +381,7 @@ impl LanguageConfiguration {
381381 &injections_query,
382382 &locals_query,
383383 )
384− .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));
384+ .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));
385385
386386 config.configure(scopes);
387387 Some(Arc::new(config))