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

Pug grammar doesn't recognize span as anything more than text.pug #26

Closed alexr00 closed 1 year ago

alexr00 commented 5 years ago

From @emersonp on November 8, 2018 23:1

Steps to Reproduce:

  1. Use a pug inline block

p: span

  1. span is recognized as text.pug instead of something more specific

Copied from original issue: Microsoft/vscode#62817

alexr00 commented 5 years ago

@emersonp, can you give me an example of an editor or IDE that does this correctly please? I want to make sure I'm reproducing this the right way.

alexr00 commented 5 years ago

From @vscodebot[bot] on November 20, 2018 11:13

This issue has been closed automatically because it needs more information and has not had recent activity. See also our issue reporting guidelines.

Happy Coding!

alexr00 commented 5 years ago

From @lxmfly123 on December 2, 2018 6:33

@alexr00 WebStorm does this correctly.

alexr00 commented 5 years ago

From @joexmdq on December 13, 2018 22:57

@alexr00 Here is an example of VSCode (1.30.0) vs Sublime Text (3.1.1) and Atom (1.33.0): example1

alexr00 commented 5 years ago

@joexmdq, thanks for the example! Looks like this is a problem with the grammar we're using for pug.

msftrncs commented 5 years ago

I believe this issue was an issue of VSCode-TextMate and will be resolved with the release of VS Code 1.35 (May 2019).

davidrios commented 1 year ago

Closing as it was an issue with VS Code itself.