mirror of
https://github.com/TxtDot/dalet-rs.git
synced 2024-11-05 17:33:58 +03:00
fix: table formatting
This commit is contained in:
parent
66abb7e149
commit
61a6aaf48c
3 changed files with 3 additions and 3 deletions
2
Cargo.lock
generated
2
Cargo.lock
generated
|
@ -201,7 +201,7 @@ dependencies = [
|
|||
|
||||
[[package]]
|
||||
name = "dalet"
|
||||
version = "1.0.0-pre.18"
|
||||
version = "1.0.0-pre.19"
|
||||
dependencies = [
|
||||
"ariadne",
|
||||
"bincode",
|
||||
|
|
|
@ -1,6 +1,6 @@
|
|||
[package]
|
||||
name = "dalet"
|
||||
version = "1.0.0-pre.18"
|
||||
version = "1.0.0-pre.19"
|
||||
edition = "2021"
|
||||
authors = ["artegoser"]
|
||||
license = "MIT"
|
||||
|
|
|
@ -157,7 +157,7 @@ pub fn format<'src>(spanned_tokens: &Vec<Spanned<Token<'src>>>) -> String {
|
|||
),
|
||||
Token::TableSyntax(rows) => format!(
|
||||
"{}\n{}\n{}\n",
|
||||
prepend_indent("{{> table", current_indent),
|
||||
prepend_indent("{> table", current_indent),
|
||||
set_indent(&table_to_string(rows), current_indent + 1),
|
||||
prepend_indent("}", current_indent)
|
||||
),
|
||||
|
|
Loading…
Reference in a new issue