mirror of https://github.com/lapce/lapce.git
add codelens and sticky headers for Dart (#1690)
This commit is contained in:
parent
89d44fe771
commit
36f5e22d41
|
@ -6,6 +6,8 @@
|
|||
- [#1700](https://github.com/lapce/lapce/pull/1700): Add prisma syntax and highlighting
|
||||
- [#1702](https://github.com/lapce/lapce/pull/1702): Improved svelte treesitter queries
|
||||
|
||||
- [#1690](https://github.com/lapce/lapce/pull/1690): Add codelens and sticky headers for Dart
|
||||
|
||||
### Bug Fixes
|
||||
|
||||
## 0.2.3
|
||||
|
|
|
@ -301,8 +301,16 @@ pub enum LapceLanguage {
|
|||
injection: None,
|
||||
comment: "//",
|
||||
indent: " ",
|
||||
code_lens: (DEFAULT_CODE_LENS_LIST, DEFAULT_CODE_LENS_IGNORE_LIST),
|
||||
sticky_headers: &[],
|
||||
code_lens: (
|
||||
&["program", "class_definition"],
|
||||
&[
|
||||
"program",
|
||||
"import_or_export",
|
||||
"comment",
|
||||
"documentation_comment",
|
||||
],
|
||||
),
|
||||
sticky_headers: &["class_definition"],
|
||||
extensions: &["dart"],
|
||||
},
|
||||
#[cfg(feature = "lang-dockerfile")]
|
||||
|
|
Loading…
Reference in New Issue