ffmt 0.2.7__tar.gz → 0.2.8__tar.gz
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- {ffmt-0.2.7 → ffmt-0.2.8}/Cargo.lock +1 -1
- {ffmt-0.2.7 → ffmt-0.2.8}/Cargo.toml +1 -1
- {ffmt-0.2.7 → ffmt-0.2.8}/PKG-INFO +1 -1
- {ffmt-0.2.7 → ffmt-0.2.8}/pyproject.toml +1 -1
- {ffmt-0.2.7 → ffmt-0.2.8}/src/formatter.rs +2 -3
- {ffmt-0.2.7 → ffmt-0.2.8}/.github/workflows/ci.yml +0 -0
- {ffmt-0.2.7 → ffmt-0.2.8}/.github/workflows/release.yml +0 -0
- {ffmt-0.2.7 → ffmt-0.2.8}/.github/workflows/update-readme-version.yml +0 -0
- {ffmt-0.2.7 → ffmt-0.2.8}/.gitignore +0 -0
- {ffmt-0.2.7 → ffmt-0.2.8}/.pre-commit-hooks.yaml +0 -0
- {ffmt-0.2.7 → ffmt-0.2.8}/LICENSE +0 -0
- {ffmt-0.2.7 → ffmt-0.2.8}/README.md +0 -0
- {ffmt-0.2.7 → ffmt-0.2.8}/action.yml +0 -0
- {ffmt-0.2.7 → ffmt-0.2.8}/src/align.rs +0 -0
- {ffmt-0.2.7 → ffmt-0.2.8}/src/case_norm.rs +0 -0
- {ffmt-0.2.7 → ffmt-0.2.8}/src/classifier.rs +0 -0
- {ffmt-0.2.7 → ffmt-0.2.8}/src/cli.rs +0 -0
- {ffmt-0.2.7 → ffmt-0.2.8}/src/config.rs +0 -0
- {ffmt-0.2.7 → ffmt-0.2.8}/src/keyword_norm.rs +0 -0
- {ffmt-0.2.7 → ffmt-0.2.8}/src/lib.rs +0 -0
- {ffmt-0.2.7 → ffmt-0.2.8}/src/lsp.rs +0 -0
- {ffmt-0.2.7 → ffmt-0.2.8}/src/main.rs +0 -0
- {ffmt-0.2.7 → ffmt-0.2.8}/src/reader.rs +0 -0
- {ffmt-0.2.7 → ffmt-0.2.8}/src/scope.rs +0 -0
- {ffmt-0.2.7 → ffmt-0.2.8}/src/unicode.rs +0 -0
- {ffmt-0.2.7 → ffmt-0.2.8}/src/whitespace.rs +0 -0
- {ffmt-0.2.7 → ffmt-0.2.8}/tests/case_norm.rs +0 -0
- {ffmt-0.2.7 → ffmt-0.2.8}/tests/classifier.rs +0 -0
- {ffmt-0.2.7 → ffmt-0.2.8}/tests/config_integration.rs +0 -0
- {ffmt-0.2.7 → ffmt-0.2.8}/tests/fixtures/blank_lines.expected.fpp +0 -0
- {ffmt-0.2.7 → ffmt-0.2.8}/tests/fixtures/blank_lines.input.fpp +0 -0
- {ffmt-0.2.7 → ffmt-0.2.8}/tests/fixtures/call_block.expected.fpp +0 -0
- {ffmt-0.2.7 → ffmt-0.2.8}/tests/fixtures/call_block.input.fpp +0 -0
- {ffmt-0.2.7 → ffmt-0.2.8}/tests/fixtures/directives.expected.fpp +0 -0
- {ffmt-0.2.7 → ffmt-0.2.8}/tests/fixtures/directives.input.fpp +0 -0
- {ffmt-0.2.7 → ffmt-0.2.8}/tests/fixtures/doxygen_spacing.expected.fpp +0 -0
- {ffmt-0.2.7 → ffmt-0.2.8}/tests/fixtures/doxygen_spacing.input.fpp +0 -0
- {ffmt-0.2.7 → ffmt-0.2.8}/tests/fixtures/fypp.expected.fpp +0 -0
- {ffmt-0.2.7 → ffmt-0.2.8}/tests/fixtures/fypp.input.fpp +0 -0
- {ffmt-0.2.7 → ffmt-0.2.8}/tests/fixtures/simple.expected.fpp +0 -0
- {ffmt-0.2.7 → ffmt-0.2.8}/tests/fixtures/simple.input.fpp +0 -0
- {ffmt-0.2.7 → ffmt-0.2.8}/tests/integration.rs +0 -0
- {ffmt-0.2.7 → ffmt-0.2.8}/tests/reader.rs +0 -0
- {ffmt-0.2.7 → ffmt-0.2.8}/tests/scope.rs +0 -0
- {ffmt-0.2.7 → ffmt-0.2.8}/tests/whitespace.rs +0 -0
|
@@ -1239,10 +1239,9 @@ fn ensure_two_spaces_before_inline_comment(lines: &[String]) -> Vec<String> {
|
|
|
1239
1239
|
} else if bytes[i] == b'!' {
|
|
1240
1240
|
// Found inline comment. Check spacing before it.
|
|
1241
1241
|
if i == 0 { return line.clone(); } // standalone comment
|
|
1242
|
-
// Skip directives (!$acc, !$omp)
|
|
1242
|
+
// Skip directives (!$acc, !$omp), standalone Doxygen (!>), and !! continuations
|
|
1243
1243
|
let rest = &line[i..];
|
|
1244
|
-
if rest.starts_with("!$") || rest.starts_with("
|
|
1245
|
-
|| rest.starts_with("!>") || rest.starts_with("!!") {
|
|
1244
|
+
if rest.starts_with("!$") || rest.starts_with("!>") || rest.starts_with("!!") {
|
|
1246
1245
|
return line.clone();
|
|
1247
1246
|
}
|
|
1248
1247
|
// Count spaces before the `!`
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|