Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

toggle misbehaving #105

Open
minusf opened this issue Oct 16, 2019 · 1 comment
Open

toggle misbehaving #105

minusf opened this issue Oct 16, 2019 · 1 comment

Comments

@minusf
Copy link

minusf commented Oct 16, 2019

Toggle does not work correctly in certain cases (python example):

d=(
    # "test1",
    "test2",
)

Now i would like to toggle the commenting to be like this:

d=(
    "test1",
    # "test2",
)

So i go into visual line mode and select both lines and press gcc. the result is:

d=(
    # # "test1",
    # "test2",
)
@tyru
Copy link
Owner

tyru commented Mar 15, 2020

I can't decide to label this as "bug" or "enhancement".
Because it makes some users confused to make this behavior default.
I think it should have option to change multiline comment behavior.

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

No branches or pull requests

2 participants