Skip to content
New issue

Have a question about this project? # for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “#”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? # to your account

julia-indent-line/julia-paren-indent incorrectly handles comments at the start of function application #153

Open
hexane360 opened this issue Jan 19, 2021 · 0 comments

Comments

@hexane360
Copy link
Contributor

While working on PR #152, I discovered the following issue with julia-paren-indent:

func1(
    hello,  #indented
    world,
)
func2(     #aligns with comment
           hello,
           world,
           )

julia-paren-indent correctly interprets that func1 should be indented, but just by adding a comment, func2 is aligned instead.

@hexane360 hexane360 changed the title julia-indent-line/julia-paren-indent incorrectly handles comments at the start of function application julia-indent-line/julia-paren-indent incorrectly handles comments at the start of function application Jan 19, 2021
# for free to join this conversation on GitHub. Already have an account? # to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant