Skip to content

Conversation

@inkarkat
Copy link
Contributor

As the command only takes the optional count before the command (like :tabnew, as per the documentation), no count can be detected by -1 if we specify -range=-1.
This also avoids the unexpected behavior of -count that a passed argument in the form "42foo" is parsed as count=42 and args=foo. With this change, one can properly define session names that start with numbers.

As the command only takes the optional count _before_ the command (like :tabnew, as per the documentation), no count can be detected by -1 if we specify -range=-1.
This also avoids the unexpected behavior of -count that a passed argument in the form "42foo" is parsed as count=42 and args=foo. With this change, one can properly define session names that start with numbers.
@xolox xolox merged commit de89506 into xolox:master Jun 17, 2014
xolox added a commit that referenced this pull request Jun 17, 2014
@xolox
Copy link
Owner

xolox commented Jun 17, 2014

Hey Ingo, makes sense, I just merged this. Thanks! (and sorry for taking so long)

@inkarkat inkarkat deleted the remove-AppendTabSession-workaround branch June 18, 2014 18:33
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.

2 participants