In JavaScript, semicolon not move when I wrap with parentheses
KevinGIRAULT opened this issue · comments
KevGiraultDev commented
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;)