Skip to content
This repository was archived by the owner on Dec 19, 2025. It is now read-only.

Add handling for index expressions#129

Open
bgimby wants to merge 3 commits into
segmentio:masterfrom
bgimby:format-index-expressions-in-declarations
Open

Add handling for index expressions#129
bgimby wants to merge 3 commits into
segmentio:masterfrom
bgimby:format-index-expressions-in-declarations

Conversation

@bgimby

@bgimby bgimby commented May 15, 2024

Copy link
Copy Markdown

Fixes #128

Before, long lines like this were not shortened:

var a = longlistfunc(bigarg, otherbigarg, verylongarg, veryverylongarg, veryveryverylongarg, extremelylongarg)[0]

I'm new to the codebase so let me know if I've missed anything!

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

golines does not shorten index expressions in declarations

2 participants