From 7a29d1757d7ca7ef805f0624b7b679b811960572 Mon Sep 17 00:00:00 2001 From: dten Date: Wed, 14 Nov 2018 19:36:44 +0000 Subject: [PATCH] add block_comment --- Pest.sublime-syntax | 11 +++++++++++ 1 file changed, 11 insertions(+) diff --git a/Pest.sublime-syntax b/Pest.sublime-syntax index b3f9f83..d0a0455 100644 --- a/Pest.sublime-syntax +++ b/Pest.sublime-syntax @@ -107,6 +107,17 @@ contexts: scope: comment.line.double-dash.pest captures: 1: punctuation.definition.comment.pest + - include: block_comment + + block_comment: + - match: '/\*' + scope: punctuation.definition.comment.pest + push: + - meta_scope: comment.block.pest + - include: block_comment + - match: '\*/' + scope: punctuation.definition.comment.pest + pop: true trailing: - match: '{{trailing_op}}'