From bfdbbd2efb7a5d2f5a5184b66e69c83f43b565a9 Mon Sep 17 00:00:00 2001 From: Suraj Ghimire Date: Sat, 5 Nov 2022 03:03:06 +0530 Subject: [PATCH] add sticky headers to julia (#1636) Signed-off-by: Suraj Ghimire Signed-off-by: Suraj Ghimire --- lapce-core/src/language.rs | 7 ++++++- 1 file changed, 6 insertions(+), 1 deletion(-) diff --git a/lapce-core/src/language.rs b/lapce-core/src/language.rs index 70a077ca..60912b69 100644 --- a/lapce-core/src/language.rs +++ b/lapce-core/src/language.rs @@ -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")]