diff --git a/resources/syntax/Prisma.sublime-syntax b/resources/syntax/Prisma.sublime-syntax index 5c82ecd..48bfe32 100644 --- a/resources/syntax/Prisma.sublime-syntax +++ b/resources/syntax/Prisma.sublime-syntax @@ -37,6 +37,7 @@ contexts: prototype: - include: documentation_comment - include: line_comment + - include: block_comment documentation_comment: - match: \/{3} @@ -48,6 +49,17 @@ contexts: - match: $\n? pop: 1 + block_comment: + - match: '/\*' + scope: punctuation.definition.comment.begin.prisma + push: block_comment_body + + block_comment_body: + - meta_scope: comment.block.prisma + - match: '\*/' + scope: punctuation.definition.comment.end.prisma + pop: 1 + line_comment: - match: \/{2} scope: punctuation.definition.comment.prisma