fixed toggling of uncommented and commented lines #4

Closed
wants to merge 1 commit into
from

Conversation

Projects
None yet
2 participants

when the users toggles a selection of heterogeneously commented lines (some
commented, some not), the commentary plugin was making them all commented.
this commit fixes the behavior to toggling the lines individually.

also: great work.

fixed toggling of uncommented and commented lines
when the users toggles a selection of heterogeneously commented lines (some
commented, some not), the commentary plugin was making them all commented.
this commit fixes the behavior to toggling the lines individually.
Owner

tpope commented Aug 25, 2011

I did that on purpose. If I'm commenting out

def foo
  # TODO: memoize
  bar
end

I want it to nest that comment.

@tpope tpope closed this Aug 25, 2011

verywell. i'm coming from a nerdcommenter background, so i'm used to using the explicit commands to comment or uncomment, and this commit seemed natural, but since commentary only toggles, what you're saying makes sense.

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