File tree Expand file tree Collapse file tree 1 file changed +2
-2
lines changed Expand file tree Collapse file tree 1 file changed +2
-2
lines changed Original file line number Diff line number Diff line change @@ -146,7 +146,7 @@ repository:
146
146
- name : meta.comment.multiple.note.source.wsd
147
147
match : .+?
148
148
- 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*(.+)$
150
150
captures :
151
151
' 1 ' : {name: keyword.other.noteof.source.wsd}
152
152
' 2 ' : {name: constant.numeric.noteof.source.wsd}
@@ -158,7 +158,7 @@ repository:
158
158
' 8 ' : {name: constant.numeric.noteof.source.wsd}
159
159
' 9 ' : {name: meta.comment.noteof.source.wsd}
160
160
- 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*$
162
162
beginCaptures :
163
163
' 1 ' : {name: keyword.other.noteof.source.wsd}
164
164
' 2 ' : {name: constant.numeric.noteof.source.wsd}
You can’t perform that action at this time.
0 commit comments