on master help sign in
Fix typo in query parsing error message (#1856)
79477ecSlin Lee
helix-core/src/syntax.rs+1−1
@@ -381,7 +381,7 @@ impl LanguageConfiguration {
381 &injections_query,
381 &injections_query,
382 &locals_query,
382 &locals_query,
383 )
383 )
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));
385
385
386 config.configure(scopes);
386 config.configure(scopes);
387 Some(Arc::new(config))
387 Some(Arc::new(config))