aboutsummaryrefslogtreecommitdiff
path: root/helix-core/src
diff options
context:
space:
mode:
authorMichael Davis2022-03-08 06:13:15 +0000
committerBlaž Hrastnik2022-03-10 08:31:57 +0000
commit7044d7d804ad798207594e1b3bb5bd80a96d3da0 (patch)
tree2456d38b7e586641005da7f867e85d7df62cca15 /helix-core/src
parent37520f46ae891f77f81f4049cbb7dc2dbe2d5fc3 (diff)
rename '--fetch/build-grammars' flags into '--grammar fetch/build'
The old flags were a bit long. --grammar is also aliased to -g to make it even easier.
Diffstat (limited to 'helix-core/src')
-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 6ae46d4f..3b2d56d1 100644
--- a/helix-core/src/syntax.rs
+++ b/helix-core/src/syntax.rs
@@ -388,7 +388,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 --fetch-grammars' and 'hx --build-grammars'. 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 build' and 'hx --grammar build'. This query could not be parsed: {:?}", self.language_id, query_error));
config.configure(scopes);
Some(Arc::new(config))