integrated-application-development / integrated-application-development/pasfmt

Confusing comment indentation inside anonymous procedure sections

Open
#144 1 comment 0 reactions 0 assignees View on GitHub
enhancement
Dominant language
Rust
Stars
105
Forks
20
PR merge metrics
No merged PRs in 30d

Description

Here's an example (with the formatting I expect)
```delphi
begin
var A :=
procedure
//
type
//
B = Integer;
//
begin
end;
end;
```

this is formatted as
```delphi
begin
var A :=
procedure
//
type
//
B = Integer;
//
begin
end;
end;
```

the issue is that the comments are 'inside' the line, and are 'continued' much like any other kind of wrapped line.

Contributor guide

No contributing guide indexed for this repository

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.