From 203aa857f5e63ae7525a7a65152a3cc60ad32399 Mon Sep 17 00:00:00 2001 From: Kelvin Sherlock Date: Sat, 8 Sep 2018 13:18:19 -0400 Subject: [PATCH] fixup comments a little bit --- Syntaxes/mumps.sublime-syntax | 19 +++++++++++++------ 1 file changed, 13 insertions(+), 6 deletions(-) diff --git a/Syntaxes/mumps.sublime-syntax b/Syntaxes/mumps.sublime-syntax index 968e15d..204d48d 100644 --- a/Syntaxes/mumps.sublime-syntax +++ b/Syntaxes/mumps.sublime-syntax @@ -27,7 +27,6 @@ contexts: - match: '^{{ident}}\b' scope: entity.name.function.mumps - - include: comments - match: '{{ws}}+' set: indent @@ -193,13 +192,21 @@ contexts: eol: - match: ';.*$' - scope: comment.line - set: main + scope: punctuation.definition.comment.mumps + push: + - meta_include_prototype: false + - meta_scope: comment.line.mumps + - match: '\n' + pop: true - match: '$' set: main comment: - - match: ';.*$' - scope: comment.line - + - match: ';' + scope: punctuation.definition.comment.mumps + push: + - meta_include_prototype: false + - meta_scope: comment.line.mumps + - match: '$' + pop: true