Skip to content

Commit 0d604cb

Browse files
committed
feat: improve hsml punctuated class
1 parent 2d96e05 commit 0d604cb

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

syntaxes/hsml.tmLanguage.json

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -20,11 +20,11 @@
2020
"match": "^\\s*([a-z]+)(?=[\\.\\(\\s])"
2121
},
2222
{
23-
"name": "punctuation.class.hsml",
23+
"name": "punctuation.separator.class.hsml",
2424
"comment": "hsml punctuated class",
25-
"match": "(\\.)([\\w\\:\\-\\[\\]\\#\\/]+)(?=[\\.\\(\\s])",
25+
"match": "(\\.)(([\\w\\:\\-\\#/]|(\\[.*?\\]))+)(?=[\\.\\(\\s])",
2626
"captures": {
27-
"0": {
27+
"2": {
2828
"name": "entity.other.attribute-name.class.css.hsml"
2929
},
3030
"1": {

0 commit comments

Comments
 (0)