Good First Issue
Description
Every code editor I tried so far has incomplete or incorrect implementation of Pug syntax. Thus development with Pug lacks proper tooling, often breaks without a reason and is inefficient.
One way to solve this would be maintaining official grammar under pugjs organization. Like what for ex. TypeScript has. It will allow to join time of contributors together and maintain the single codebase.
The widely used format is the TextMate Language grammar .tmLanguage (which doesn't support context though). All these editors accepts it:
The next step would be to pick the best implementation, fix its issues and start from there.
Ideas, opinions?
❤️