Skip to content

Commit 848a1cd

Browse files
authored
1 parent 0f8c90c commit 848a1cd

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

syntaxes/plantuml.yaml-tmLanguage

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -146,7 +146,7 @@ repository:
146146
- name: meta.comment.multiple.note.source.wsd
147147
match: .+?
148148
- comment: inline note of over
149-
match: (?i)^\s*([rh]?note)(?:\s+(right|left|top|bottom))?\s+(?:(?:(of|over)\s*(?:[^\s\w\d]([\w\s]+)[^\s\w\d]|(?:(".+?"|\w+)(?:,\s*(".+?"|\w+))*)))|(on\s+link))\s*(#\w+)?\s*:\s*(.+)$
149+
match: (?i)^\/?\s*([rh]?note)(?:\s+(right|left|top|bottom))?\s+(?:(?:(of|over)\s*(?:[^\s\w\d]([\w\s]+)[^\s\w\d]|(?:(".+?"|\w+)(?:,\s*(".+?"|\w+))*)))|(on\s+link))\s*(#\w+)?\s*:\s*(.+)$
150150
captures:
151151
'1': {name: keyword.other.noteof.source.wsd}
152152
'2': {name: constant.numeric.noteof.source.wsd}
@@ -158,7 +158,7 @@ repository:
158158
'8': {name: constant.numeric.noteof.source.wsd}
159159
'9': {name: meta.comment.noteof.source.wsd}
160160
- comment: multi-line note of over
161-
begin: (?i)^\s*([rh]?note)(?:\s+(right|left|top|bottom))?\s+(?:(?:(of|over)\s*(?:[^\s\w\d]([\w\s]+)[^\s\w\d]|(?:(".+?"|\w+)(?:,\s*(".+?"|\w+))*)))|(on\s+link))\s*(#\w+)?\s*$
161+
begin: (?i)^\/?\s*([rh]?note)(?:\s+(right|left|top|bottom))?\s+(?:(?:(of|over)\s*(?:[^\s\w\d]([\w\s]+)[^\s\w\d]|(?:(".+?"|\w+)(?:,\s*(".+?"|\w+))*)))|(on\s+link))\s*(#\w+)?\s*$
162162
beginCaptures:
163163
'1': {name: keyword.other.noteof.source.wsd}
164164
'2': {name: constant.numeric.noteof.source.wsd}

0 commit comments

Comments
 (0)