Skip to content

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

@KevinGIRAULT

Description

@KevinGIRAULT

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

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions