Skip to content
Unverified Commit a8bfcc10 authored by cobalt's avatar cobalt Committed by GitHub
Browse files

Fix `fmt: skip` skipping the line after instead of the line it's on (#4855)



* Fix `fmt: skip` skipping the line after instead of the line it's on (#3364, #4366)

Signed-off-by: default avatarcobalt <61329810+cobaltt7@users.noreply.github.com>

* Apply suggestion from @cobaltt7

* Add tests

Signed-off-by: default avatarcobalt <61329810+cobaltt7@users.noreply.github.com>

* Fix error on preview when only the closing bracket was ignored

Signed-off-by: default avatarcobalt <61329810+cobaltt7@users.noreply.github.com>

* Fix merge conflict

Signed-off-by: default avatarcobalt <61329810+cobaltt7@users.noreply.github.com>

* If i fully gate it under fix_fmt_skip_in_one_liners it works

Signed-off-by: default avatarcobalt <61329810+cobaltt7@users.noreply.github.com>

* [pre-commit.ci] auto fixes from pre-commit.com hooks

for more information, see https://pre-commit.ci



* Fix should-be final issues

Signed-off-by: default avatarcobalt <61329810+cobaltt7@users.noreply.github.com>

---------

Signed-off-by: default avatarcobalt <61329810+cobaltt7@users.noreply.github.com>
Co-authored-by: default avatarpre-commit-ci[bot] <66853113+pre-commit-ci[bot]@users.noreply.github.com>
parent 36497716
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment