Skip to content

Conversation

@D4KU
Copy link

@D4KU D4KU commented Jan 17, 2022

I added a text-object to include adjacent simple line comments only separated by an empty or white-space-filled line.
So if > marks the current cursor line, comments b to d are matched.

  // a
  if (false)
     return;
  // b

  // c
> // d

Because this new object is greedier than the others I figured it would make sense to call it aC, and renamed the existing aC to iC.

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