Skip to content

Commit 203aa85

Browse files
committed
fixup comments a little bit
1 parent 32a310f commit 203aa85

File tree

1 file changed

+13
-6
lines changed

1 file changed

+13
-6
lines changed

Syntaxes/mumps.sublime-syntax

Lines changed: 13 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -27,7 +27,6 @@ contexts:
2727
- match: '^{{ident}}\b'
2828
scope: entity.name.function.mumps
2929

30-
- include: comments
3130
- match: '{{ws}}+'
3231
set: indent
3332

@@ -193,13 +192,21 @@ contexts:
193192

194193
eol:
195194
- match: ';.*$'
196-
scope: comment.line
197-
set: main
195+
scope: punctuation.definition.comment.mumps
196+
push:
197+
- meta_include_prototype: false
198+
- meta_scope: comment.line.mumps
199+
- match: '\n'
200+
pop: true
198201
- match: '$'
199202
set: main
200203

201204

202205
comment:
203-
- match: ';.*$'
204-
scope: comment.line
205-
206+
- match: ';'
207+
scope: punctuation.definition.comment.mumps
208+
push:
209+
- meta_include_prototype: false
210+
- meta_scope: comment.line.mumps
211+
- match: '$'
212+
pop: true

0 commit comments

Comments
 (0)