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

Using XML for custom block lang fails #2091

Closed
3 tasks done
johnsusek opened this issue Jul 31, 2020 · 0 comments
Closed
3 tasks done

Using XML for custom block lang fails #2091

johnsusek opened this issue Jul 31, 2020 · 0 comments

Comments

@johnsusek
Copy link

  • I have searched through existing issues
  • I have read through docs
  • I have read FAQ

Info

  • Platform: MacOS Catalina
  • Vetur version: Latest
  • VS Code version: Latest

Problem

Screen Shot 2020-07-31 at 11 59 50 AM

Screen Shot 2020-07-31 at 11 59 38 AM

Reproducible Case

  1. Add
"vetur.grammar.customBlocks": {
    "tests": "xml"
  }
  1. Adds tests block to your vetur template

  2. Generate grammar and reload window

"xml" is a valid vscode grammar, so should work like html, md, json, etc.

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

2 participants