Skip to content

Commit

Permalink
chore: v0.11.18
Browse files Browse the repository at this point in the history
  • Loading branch information
Enter-tainer committed May 9, 2024
1 parent 75b0d06 commit 4d3932e
Show file tree
Hide file tree
Showing 3 changed files with 21 additions and 2 deletions.
19 changes: 19 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,5 +1,24 @@
# Changelog

## v0.11.18 - [2024-05-09]

- Typstyle now can keep line comments attached to the end of the line when formatting code blocks.

For example, this code:
```typ
#{
let c = 0 // my comment
}
```

Previously, the comment will be moved to the next line after formatting. Now it's attached to the end of the line.

```typ
#{
let c = 0 // my comment
}
```

## v0.11.17 - [2024-05-03]

- Fix typstyle cli not stripping trailing spaces.
Expand Down
2 changes: 1 addition & 1 deletion Cargo.lock

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion Cargo.toml
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
[package]
name = "typstyle"
version = "0.11.17"
version = "0.11.18"
edition = "2021"
authors = ["Wenzhuo Liu"]
license-file = "LICENSE"
Expand Down

0 comments on commit 4d3932e

Please sign in to comment.