From 79477ec6e70f43722cb0cc43f4ee6928dd6c7faf Mon Sep 17 00:00:00 2001 From: Slin Lee Date: Tue, 22 Mar 2022 03:52:57 -0700 Subject: [PATCH] Fix typo in query parsing error message (#1856) --- helix-core/src/syntax.rs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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))