Thanks to visit codestin.com
Credit goes to github.com

Skip to content

Commit 2434561

Browse files
committed
Allow spaces in single-line comment
1 parent 62a4299 commit 2434561

File tree

4 files changed

+9
-2
lines changed

4 files changed

+9
-2
lines changed

CHANGELOG.md

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -26,3 +26,7 @@ The format is based on [Keep a Changelog] (http://keepachangelog.com/en/1.0.0/)
2626
### Added
2727
- JS Syntax highlight
2828
- Single-line comment support
29+
30+
### [1.5.0] - 2018-03-22
31+
### Fixed
32+
- Compatibility with Prettier

README.md

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -59,6 +59,9 @@ If this project help you reduce time to develop, you can give me a cup of coffee
5959
- JS Syntax highlight
6060
- Single-line comment support
6161

62+
### [1.5.0] - 2018-03-22
63+
- Compatibility with Prettier
64+
6265
-----------------------------------------------------------------------------------------------------------
6366

6467
**Enjoy!**

package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@
22
"name": "es6-string-html",
33
"displayName": "es6-string-html",
44
"description": "Highlight html in es6 multiline strings",
5-
"version": "1.4.0",
5+
"version": "1.5.0",
66
"publisher": "Tobermory",
77
"icon": "docs/logo.png",
88
"engines": {

syntaxes/es6-inline-html.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -35,7 +35,7 @@
3535
]
3636
},
3737
{
38-
"begin": "(\\/\\/(html|template|inline-html|inline-template))",
38+
"begin": "(\\/\\/\\s?(html|template|inline-html|inline-template)\\s?)",
3939
"beginCaptures": {
4040
"1": {
4141
"name": "punctuation.definition.comment.js"

0 commit comments

Comments
 (0)