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

vim-surround issues with template strings on new lines #3696

Open
aquaductape opened this issue Apr 20, 2019 · 0 comments
Open

vim-surround issues with template strings on new lines #3696

aquaductape opened this issue Apr 20, 2019 · 0 comments

Comments

@aquaductape
Copy link

Template strings that contain new lines cannot be altered with any vim-surround commands.

@Component({
  selector: 'app-root',
  template: `
    <h1>Welcome to {{ title }}!</h1>
    <app-heroes></app-heroes>
  `,
  styleUrls: ['./app.component.scss'],
})

Only work around is to make the string single line, then you can manipulate the grave accents.

  template: ` <h1>Welcome to {{ title }}!</h1> <app-heroes></app-heroes> `,
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