FooSoft/vim-argwrap

[Feature request] First element on same line as opening parenthesis

yochem opened this issue · 1 comments

First of all, love the package! Finally no more jJjJjJ... or s<enter>lls<enter> anymore! :)

I would love to use the following style (especially in function arguments):

Foo(text='hi',
    num=3,
    **kwargs)

But could not find how to do it with the current status of the project.

The closing parenthesis on the same line is already possible with the option let g:argwrap_wrap_closing_brace = 0. Would it be possible to add an option like let g:argwrap_wrap_opening_brace = 0 or something like that for the opening parenthesis?

I can try to create a PR implementing this, but don't have much experience with vimscript.

Thank you in advance!

hadn't found #8 when looking for it, but have now, whoops 😅