Skip to content

Commit

Permalink
mod: syntax highlighting: (fix note across)
Browse files Browse the repository at this point in the history
That fixes #571
  • Loading branch information
The-Lum authored Mar 29, 2024
1 parent 48803de commit 0f8c90c
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions syntaxes/plantuml.yaml-tmLanguage
Original file line number Diff line number Diff line change
Expand Up @@ -131,15 +131,15 @@ repository:
'1': {name: keyword.other.note.source.wsd}
'2': {name: constant.numeric.caption.source.wsd}
- comment: inline note
match: (?i)^\s*(note\s(left|right))\s*:\s*(.+)\s*$
match: (?i)^\s*([rh]?note\s*(left|right|across))\s*:\s*(.+)\s*$
captures:
'1': {name: keyword.other.note.source.wsd}
'3': {name: meta.comment.note.source.wsd}
- comment: multiple note
begin: (?i)^\s*(note\s(left|right))\s*$
begin: (?i)^\s*([rh]?note\s*(left|right|across))\s*$
beginCaptures:
'1': {name: keyword.other.note.source.wsd}
end: (?i)^\s*(end\s*note)
end: (?i)^\s*(end\s*[rh]?note)
endCaptures:
'1': {name: keyword.other.note.source.wsd}
patterns:
Expand Down

0 comments on commit 0f8c90c

Please sign in to comment.