mirror of https://github.com/lapce/lapce.git
add sticky headers to ruby and elixir (#1424)
This commit is contained in:
parent
e760dce788
commit
e715adf14f
|
@ -318,7 +318,7 @@ pub enum LapceLanguage {
|
|||
comment: "#",
|
||||
indent: " ",
|
||||
code_lens: (DEFAULT_CODE_LENS_LIST, DEFAULT_CODE_LENS_IGNORE_LIST),
|
||||
sticky_headers: &[],
|
||||
sticky_headers: &["do_block"],
|
||||
extensions: &["ex", "exs", "eex", "heex", "sface"],
|
||||
},
|
||||
#[cfg(feature = "lang-elm")]
|
||||
|
@ -652,7 +652,8 @@ pub enum LapceLanguage {
|
|||
comment: "#",
|
||||
indent: " ",
|
||||
code_lens: (DEFAULT_CODE_LENS_LIST, DEFAULT_CODE_LENS_IGNORE_LIST),
|
||||
sticky_headers: &[],
|
||||
sticky_headers: &["module", "class", "method", "do_block"],
|
||||
|
||||
extensions: &["rb"],
|
||||
},
|
||||
#[cfg(feature = "lang-rust")]
|
||||
|
|
Loading…
Reference in New Issue