-
-
Notifications
You must be signed in to change notification settings - Fork 213
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
Commenting out the whole block, including blank lines #77
Comments
I concur - even if it is optional/separate commands, this would be very helpful. |
I would like to see this too. |
@tpope would you accept a pr for this? |
@snahor do you have a patch? I want to apply to a local fork given the maintainer's lack of interest but I find parts of the script impenetrable. |
In hindsight this might have been the better choice, but it gets weird when it comes to that extra space we add after the comment character. I am thinking maybe in 2.0 we drop the space, which would be a natural time to address this. |
When selecting
and commenting the result is
It would be nice if the blank line were commented too, or if vim-commentary could be configured that way. The use case is that when there are multiple blocks of commented code near each other it's much easier to distinguish each block if the leading column is the comment character for the full extent.
The text was updated successfully, but these errors were encountered: