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

Specifying additional characters as argument separators #31

Description

@korsbo

Would it be possible to have an option that extends which characters are treated as argument separators?

The specific issue that I have is that I often have functions that look like f(a, b, c; d="foo", e="bar") where the semicolon denotes that all the following arguments are keyword arguments (Julia). argwrap is still useful here but the semicolon is not treated as a separator so you'll end up with

f(
  a,
  b,
  c; d="foo",
  e="bar",
)

If there were a way to specify that both , and ; should be treated as argument separators then I'd imagine that we could turn that into

f(
  a,
  b,
  c; 
  d="foo",
  e="bar",
)

By the way - this little plugin is a really nice quality-of-life improvement and I use it many(!) times every day. Thank you!

Activity

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

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions