Skip to content
This repository has been archived by the owner on Aug 31, 2023. It is now read-only.

Commit

Permalink
feat(rome_formatter): Comments multi map (#3230)
Browse files Browse the repository at this point in the history
  • Loading branch information
MichaReiser committed Sep 16, 2022
1 parent 8ce92f8 commit 68b96aa
Show file tree
Hide file tree
Showing 4 changed files with 824 additions and 0 deletions.
1 change: 1 addition & 0 deletions Cargo.lock

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

1 change: 1 addition & 0 deletions crates/rome_formatter/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -16,6 +16,7 @@ cfg-if = "1.0.0"
indexmap = "1.8.2"
schemars = { version = "0.8.10", optional = true }
rustc-hash = "1.1.0"
countme = "3.0.1"

[features]
serde = ["dep:serde", "schemars", "rome_rowan/serde"]
2 changes: 2 additions & 0 deletions crates/rome_formatter/src/comments.rs
Original file line number Diff line number Diff line change
@@ -1,3 +1,5 @@
mod map;

use rome_rowan::{
Direction, Language, SyntaxElement, SyntaxKind, SyntaxNode, SyntaxTriviaPieceComments,
WalkEvent,
Expand Down
Loading

0 comments on commit 68b96aa

Please sign in to comment.