Pug, or Jade, is a very popular template engine for NodeJS applications. This syntax file supports most Pug syntax.
Details
Details
Diff Detail
Diff Detail
- Repository
- R216 Syntax Highlighting
- Lint
Lint Skipped - Unit
Unit Tests Skipped
Comment Actions
Do you also agree to release this highlighting file under MIT license? Same for the test case you attached? Also, can we use this test case for unit testing?
Comment Actions
It is okay. I can release the syntax file under LGPL, MIT, BSD ( https://community.kde.org/Policies/Licensing_Policy )
The test file is copied from pugjs.org , I am not the author. It is MIT licensed https://github.com/pugjs/pug-www/blob/39257987117795a4c2d133618649bb89f1cc81e4/package.json
Comment Actions
I found this part might be a bug in this syntax highlight:
mimetype="text/plain"
It will highlight all plain text file to pug syntax. Should I just change mimetype to empty? Not sure how to write it for files that don't have registered mimetype.