From b6ae67a6100a7c1fa6a249a2b4e0ff04378a41b5 Mon Sep 17 00:00:00 2001 From: Timothy Clem Date: Thu, 18 Jun 2020 14:43:10 -0700 Subject: [PATCH] Fix up CLI, use new syntax_type_name --- cli/src/tags.rs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/cli/src/tags.rs b/cli/src/tags.rs index 3493f616..515f4c52 100644 --- a/cli/src/tags.rs +++ b/cli/src/tags.rs @@ -50,7 +50,7 @@ pub fn generate_tags(loader: &Loader, scope: Option<&str>, paths: &[String]) -> "{}{:<10}\t | {:<8}\t{} {} - {} `{}`", ident, str::from_utf8(&source[tag.name_range]).unwrap_or(""), - tag.syntax_type, + &tags_config.syntax_type_name(tag.syntax_type_id), if tag.is_definition { "def" } else { "ref" }, tag.span.start, tag.span.end,