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

Snippet words starting with $ sign not inserted #3350

Open
drameryan opened this issue Feb 17, 2022 · 2 comments
Open

Snippet words starting with $ sign not inserted #3350

drameryan opened this issue Feb 17, 2022 · 2 comments

Comments

@drameryan
Copy link

Info

  • Platform: Win
  • Vetur version: v0.35.0
  • VS Code version: 1.64.2

Problem

custom snippet defined in .vscode\vetur\snippets\vue\ folder

when the text is inserted text words starting with $ are non inserted.

Tried \$ and $$ but didn't work.

Reproducible Case

test snippets file: vue-test.vue

<div @click="$emit('input', $event)">test

inserted text:

<div @click="('input', )">test

@richex-cn
Copy link

+1

@yoyo930021
Copy link
Member

Please provide a repro case.
https://github.com/vuejs/vetur/blob/master/.github/NO_REPRO_CASE.md

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

3 participants