lexer YAML string highlight
Closed this issue · 1 comments
Alexey-T commented
real yaml sample which is hilighted wrong.
- match: \(
push:
- match: ',?\s*([A-Z][\w'']*)\s*(?:\(([A-Z][\w\s,'']*|..)\))?'
captures:
1: entity.name.type.purescript
2: entity.name.function.constructor.purescript
- match: ',?\s?class\s+([A-Z][\w'']*)'
captures:
1: entity.name.typeclass.purescript
- match: ',?\s?([\w'']*)'
captures:
1: entity.name.function
- match: \)
pop: true
- match: '(as)\s+([A-Z][\w'']*)'
captures:
seems quote-char can be escaped using double-quote-char.
todo.
Alexey-T commented