-
Notifications
You must be signed in to change notification settings - Fork 11.2k
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Showing
10 changed files
with
122 additions
and
11 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
4 changes: 2 additions & 2 deletions
4
...-crates/move/crates/move-analyzer/prettier-move/tests/functions/pattern_matching.exp.move
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
13 changes: 13 additions & 0 deletions
13
...tes/move/crates/move-analyzer/prettier-move/tests/prettier-features/module_label.exp.move
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,13 @@ | ||
// options: | ||
// printWidth: 80 | ||
// useModuleLabel: true | ||
|
||
module prettier::module_label; | ||
use std::string::String; | ||
|
||
/// Hey there, this is the first time we meet. | ||
public struct Hey {} | ||
|
||
public fun another_public_fun() {} | ||
|
||
fun ignored_vec() {} |
11 changes: 11 additions & 0 deletions
11
...-crates/move/crates/move-analyzer/prettier-move/tests/prettier-features/module_label.move
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,11 @@ | ||
// options: | ||
// printWidth: 80 | ||
// useModuleLabel: true | ||
|
||
module prettier::module_label { | ||
use std::string::String; | ||
/// Hey there, this is the first time we meet. | ||
public struct Hey {} | ||
public fun another_public_fun() {} | ||
fun ignored_vec() {} | ||
} |
21 changes: 21 additions & 0 deletions
21
...tes/move-analyzer/prettier-move/tests/prettier-features/module_label_two_modules.exp.move
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,21 @@ | ||
// options: | ||
// printWidth: 80 | ||
// useModuleLabel: true | ||
|
||
module prettier::module_label { | ||
/// Hey there, this is the first time we meet. | ||
public struct Hey {} | ||
|
||
public fun another_public_fun() {} | ||
|
||
fun ignored_vec() {} | ||
} | ||
|
||
module prettier::module_label_v2 { | ||
/// Hey there, this is the first time we meet. | ||
public struct Hey {} | ||
|
||
public fun another_public_fun() {} | ||
|
||
fun ignored_vec() {} | ||
} |
17 changes: 17 additions & 0 deletions
17
.../crates/move-analyzer/prettier-move/tests/prettier-features/module_label_two_modules.move
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,17 @@ | ||
// options: | ||
// printWidth: 80 | ||
// useModuleLabel: true | ||
|
||
module prettier::module_label { | ||
/// Hey there, this is the first time we meet. | ||
public struct Hey {} | ||
public fun another_public_fun() {} | ||
fun ignored_vec() {} | ||
} | ||
|
||
module prettier::module_label_v2 { | ||
/// Hey there, this is the first time we meet. | ||
public struct Hey {} | ||
public fun another_public_fun() {} | ||
fun ignored_vec() {} | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Binary file modified
BIN
+3.8 KB
(100%)
external-crates/move/crates/move-analyzer/prettier-move/tree-sitter-move.wasm
Binary file not shown.