add sticky headers to julia (#1636)

Signed-off-by: Suraj Ghimire <suraj@ghishadow.com>

Signed-off-by: Suraj Ghimire <suraj@ghishadow.com>
This commit is contained in:
Suraj Ghimire 2022-11-05 03:03:06 +05:30 committed by GitHub
parent 6a8bb120b5
commit bfdbbd2efb
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 6 additions and 1 deletions

View File

@ -502,7 +502,12 @@ pub enum LapceLanguage {
comment: "#",
indent: " ",
code_lens: (DEFAULT_CODE_LENS_LIST, DEFAULT_CODE_LENS_IGNORE_LIST),
sticky_headers: &[],
sticky_headers: &[
"function_definition",
"module_definition",
"macro_definition",
"struct_definition",
],
extensions: &["julia", "jl"],
},
#[cfg(feature = "lang-kotlin")]