Skip to content

Allow ++curwin option to come after other options#2326

Open
KSR-Yasuda wants to merge 1 commit intotpope:masterfrom
KSR-Yasuda:feature/CommandOptionOrder
Open

Allow ++curwin option to come after other options#2326
KSR-Yasuda wants to merge 1 commit intotpope:masterfrom
KSR-Yasuda:feature/CommandOptionOrder

Conversation

@KSR-Yasuda
Copy link
Copy Markdown
Contributor

Why don't you allow ++curwin option to come after other options such as -p?

:G ++curwin -p log
" Already supported (the current option order).

:G -p ++curwin log
" Supported newly by this patch.

:G -p log ++curwin
" Not supported: the `++curwin` is treated as an argument for the git command.

I don't want to pay attention to the option order.

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

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant