making it look better
This commit is contained in:
parent
ad84a79335
commit
30255be018
22 changed files with 2567 additions and 72 deletions
|
@ -5,4 +5,3 @@ edition = "2021"
|
|||
|
||||
[dependencies]
|
||||
thiserror = "1.0.47"
|
||||
log = { workspace = true }
|
||||
|
|
|
@ -25,6 +25,7 @@ impl Roots {
|
|||
|
||||
#[derive(Debug, Clone)]
|
||||
pub struct Branch {
|
||||
pub indent_level: usize,
|
||||
pub attributes: Range<usize>,
|
||||
pub kind: BranchKind,
|
||||
pub kind_span: Range<usize>,
|
||||
|
@ -35,6 +36,7 @@ pub struct Branch {
|
|||
impl From<BranchEvent> for Branch {
|
||||
fn from(branch: BranchEvent) -> Self {
|
||||
Self {
|
||||
indent_level: branch.indent_level,
|
||||
attributes: branch.attributes,
|
||||
kind: branch.kind,
|
||||
kind_span: branch.kind_span,
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue