Subject: bug#62043: [PATCH] Fix enums appearing as structs in c-ts-base-mode's imenu

From: Yuan Fu <[email-masked]>
Date: Wed, 8 Mar 2023 15:27:18 -0800

> On Mar 7, 2023, at 5:49 PM, Randy Taylor <[email-masked]> wrote:
> 
> X-Debbugs-CC: [email-masked]
> 
> With {c, c++}-ts-mode, enums appear as structs in imenu. The attached patch fixes this.
> 
> Example:
> enum Thing { A, B, C };
> 
> Should appear as Enum Thing
> <0001-Fix-enums-appearing-as-structs-in-c-ts-base-mode-s-i.patch>

Thanks! I wonder what determines which categories to merge together and which to not? If we separate Enums, should we also separate Unions?

Yuan