editor: Add sticky scroll (#42242)
Closes #5344 https://github.com/user-attachments/assets/37ec58b0-7cf6-4eea-9b34-dccf03d3526b Release Notes: - Added a setting to stick scopes to the top of the editor --------- Co-authored-by: KyleBarton <kjb@initialcapacity.io> Co-authored-by: Conrad Irwin <conrad.irwin@gmail.com>
This commit is contained in:
co-authored by
KyleBarton
Conrad Irwin
parent
d896af2f15
commit
aa6270e658
@@ -2613,6 +2613,9 @@ pub fn rust_lang() -> Arc<Language> {
|
||||
Some(tree_sitter_rust::LANGUAGE.into()),
|
||||
)
|
||||
.with_queries(LanguageQueries {
|
||||
outline: Some(Cow::from(include_str!(
|
||||
"../../languages/src/rust/outline.scm"
|
||||
))),
|
||||
indents: Some(Cow::from(
|
||||
r#"
|
||||
[
|
||||
|
||||
Reference in New Issue
Block a user