This also happens with 1.36. The reason seems that modules are not shown in the symbols tree, and then the hierarchy is displayed directly in the tag name.

Could you try the patch below and see if it's better for you?

diff --git a/src/symbols.c b/src/symbols.c
index a54b6ef4c..a6192f04b 100644
--- a/src/symbols.c
+++ b/src/symbols.c
@@ -818,9 +818,10 @@ static void add_top_level_items(GeanyDocument *doc)
 			break;
 		}
 		case GEANY_FILETYPES_D:
+		case GEANY_FILETYPES_ERLANG:
 		default:
 		{
-			if (ft_id == GEANY_FILETYPES_D)
+			if (ft_id == GEANY_FILETYPES_D || ft_id == GEANY_FILETYPES_ERLANG)
 				tag_list_add_groups(tag_store,
 					&(tv_iters.tag_namespace), _("Module"), ICON_NONE, NULL);
 			else
diff --git a/src/tagmanager/tm_parser.c b/src/tagmanager/tm_parser.c
index 7d008e5f6..0edf5c92b 100644
--- a/src/tagmanager/tm_parser.c
+++ b/src/tagmanager/tm_parser.c
@@ -194,7 +194,7 @@ static TMParserMapEntry map_DOCBOOK[] = {
 static TMParserMapEntry map_ERLANG[] = {
 	{'d', tm_tag_macro_t},
 	{'f', tm_tag_function_t},
-	{'m', tm_tag_undef_t},
+	{'m', tm_tag_namespace_t},
 	{'r', tm_tag_struct_t},
 	{'t', tm_tag_typedef_t},
 };

Gives me (with transitive.erl from http://www1.erlang.org/examples/examples-2.0.html):
Erlang symbols list


You are receiving this because you are subscribed to this thread.
Reply to this email directly, view it on GitHub, or unsubscribe.