updated csharp syntax properties
@@ -281,10 +281,21 @@ pub enum LapceLanguage {
language: tree_sitter_c_sharp::language,
highlight: tree_sitter_c_sharp::HIGHLIGHT_QUERY,
injection: None,
- comment: "#",
+ comment: "//",
indent: " ",
code_lens: (DEFAULT_CODE_LENS_LIST, DEFAULT_CODE_LENS_IGNORE_LIST),
- sticky_headers: &[],
+ sticky_headers: &[
+ "interface_declaration",
+ "class_declaration",
+ "enum_declaration",
+ "struct_declaration",
+ "record_declaration",
+ "record_struct_declaration",
+ "namespace_declaration",
+ "constructor_declaration",
+ "destructor_declaration",
+ "method_declaration",
+ ],
extensions: &["cs", "csx"],
},
#[cfg(feature = "lang-css")]
