aboutsummaryrefslogtreecommitdiff
path: root/helix-syntax
diff options
context:
space:
mode:
authorBlaž Hrastnik2021-08-31 07:52:12 +0000
committerBlaž Hrastnik2021-09-06 06:25:46 +0000
commit905efe3a48e5ac08a619da95b3d5f845e7e20160 (patch)
tree06f9a982fd7142517375fbbab40340f4ddd55130 /helix-syntax
parent5a558e0d8e20eb5b5d474e0f27fd51f4c633dd80 (diff)
Improve build error when a new grammar was added
Diffstat (limited to 'helix-syntax')
-rw-r--r--helix-syntax/build.rs3
1 files changed, 1 insertions, 2 deletions
diff --git a/helix-syntax/build.rs b/helix-syntax/build.rs
index 473646fd..28f85e74 100644
--- a/helix-syntax/build.rs
+++ b/helix-syntax/build.rs
@@ -158,10 +158,9 @@ fn build_dir(dir: &str, language: &str) {
.is_none()
{
eprintln!(
- "The directory {} is empty, did you use 'git clone --recursive'?",
+ "The directory {} is empty, you probably need to use 'git submodule update --init --recursive'?",
dir
);
- eprintln!("You can fix in using 'git submodule init && git submodule update --recursive'.");
std::process::exit(1);
}