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

In JavaScript, semicolon not move when I wrap with parentheses #384

Open
KevinGIRAULT opened this issue Dec 11, 2023 · 0 comments
Open

In JavaScript, semicolon not move when I wrap with parentheses #384

KevinGIRAULT opened this issue Dec 11, 2023 · 0 comments

Comments

@KevinGIRAULT
Copy link

KevinGIRAULT commented Dec 11, 2023

I want to easily wrap my code in an argument. For example:

1 + 1;

I want this to be in console.log() after wrapping: console.log(1+1);

It does not move semicolon which is wrapped :

  • V (shift + v) for select entiere line(s).
  • S (shift + s) for use surround.vim
  • add parentheses (round brackets) and function name.
  • result : console.log(1 + 1;)
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

No branches or pull requests

1 participant