Add rust enums to sticky headers list
@@ -213,7 +213,7 @@ pub enum LapceLanguage {
&["source_file", "impl_item", "trait_item", "declaration_list"],
&["source_file", "use_declaration", "line_comment"],
),
- sticky_headers: &["struct_item", "function_item", "impl_item"],
+ sticky_headers: &["struct_item", "enum_item", "function_item", "impl_item"],
extensions: &["rs"],
},
#[cfg(feature = "lang-go")]
