I am currently creating a language extension. When adding comments (starts with $$
), I ran into a hurdle.
"comments":{
"patterns": [{
"name": "comment.line.sahutorepol",
"match": "\\$\\$.*$\\n?"
}]
},
Despite the regex matching and being escaped properly, there is no highlighting and the inspect tool confirms that its not properly detected.
I have tried placing the match
key outside the patterns
array, to no change.