diff --git a/cli/src/main.rs b/cli/src/main.rs index 8f5fdb4f..79d310fe 100644 --- a/cli/src/main.rs +++ b/cli/src/main.rs @@ -286,6 +286,11 @@ fn run() -> error::Result<()> { return Error::err(format!("No syntax highlighting query found")); } } + + if html_mode { + println!("{}", highlight::HTML_FOOTER); + } + } else if let Some(matches) = matches.subcommand_matches("build-wasm") { let grammar_path = current_dir.join(matches.value_of("path").unwrap_or("")); wasm::compile_language_to_wasm(&grammar_path, matches.is_present("docker"))?;