vim-surround icon indicating copy to clipboard operation
vim-surround copied to clipboard

In JavaScript, semicolon not move when I wrap with parentheses

Open KevinGIRAULT opened this issue 2 years ago • 0 comments

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;)

KevinGIRAULT avatar Dec 11 '23 16:12 KevinGIRAULT