Skip to content

Commit 71f79f2

Browse files
The-Lumqjebbs
authored andcommitted
mod: syntax highlighting: (fix note across)
That fixes qjebbs#571
1 parent 3c2055d commit 71f79f2

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

syntaxes/plantuml.yaml-tmLanguage

+3-3
Original file line numberDiff line numberDiff line change
@@ -131,15 +131,15 @@ repository:
131131
'1': {name: keyword.other.note.source.wsd}
132132
'2': {name: constant.numeric.caption.source.wsd}
133133
- comment: inline note
134-
match: (?i)^\s*(note\s(left|right))\s*:\s*(.+)\s*$
134+
match: (?i)^\s*([rh]?note\s*(left|right|across))\s*:\s*(.+)\s*$
135135
captures:
136136
'1': {name: keyword.other.note.source.wsd}
137137
'3': {name: meta.comment.note.source.wsd}
138138
- comment: multiple note
139-
begin: (?i)^\s*(note\s(left|right))\s*$
139+
begin: (?i)^\s*([rh]?note\s*(left|right|across))\s*$
140140
beginCaptures:
141141
'1': {name: keyword.other.note.source.wsd}
142-
end: (?i)^\s*(end\s*note)
142+
end: (?i)^\s*(end\s*[rh]?note)
143143
endCaptures:
144144
'1': {name: keyword.other.note.source.wsd}
145145
patterns:

0 commit comments

Comments
 (0)