Add rust enums to sticky headers list (#1378)

This commit is contained in:
Dániel Buga 2022-09-27 22:01:54 +02:00 committed by GitHub
parent 7dbcfc0a6c
commit d14664b21f
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 1 additions and 1 deletions

View File

@ -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")]