davidrios / pug-tmbundle

A comprehensive textmate / sublime text bundle for the Pug (formerly Jade) template language.
https://github.com/davidrios/pug-tmbundle
MIT License
48 stars 20 forks source link

Grammar doesn't include source.js for module javascript block #30

Closed alexr00 closed 1 year ago

alexr00 commented 5 years ago

From @csvn here https://github.com/microsoft/vscode/issues/76181

The built-in Pug basic language support extension does not give any syntax highlighting for <script type="module"> code. Regular <script> tags work as they should (including when type="text/javascript" is used).

Steps to Reproduce:

  1. Open a .pug file with built-in Pug extension active
  2. Add a script(type="module"). block
  3. Write any Javascript
  4. Content is formatted as plain text

image