How can I make my multi line comment go from " !’ " to the last unmatched " ’ "
So:
!’ a = ‘b’
m = ‘s’
’
The comment would need to go until the last quote on line 3
How can I make my multi line comment go from " !’ " to the last unmatched " ’ "
So:
!’ a = ‘b’
m = ‘s’
’
The comment would need to go until the last quote on line 3
are the smart quotes intentional?
if not, maybe something like:
%YAML 1.2
---
# See http://www.sublimetext.com/docs/3/syntax.html
scope: source.example-multiline-comment-apostrophie
contexts:
main:
- include: comments
comments:
- match: '!'''
scope: punctuation.definition.comment.begin.suffix
push:
- meta_scope: comment.block.suffix
- match: '''[^'']*'''
#- match: '''(?![^'']*'')'
- match: ''''
scope: punctuation.definition.comment.end.suffix
pop: true