From 31458e7a2ed805c8e57d1e1fa0b27d360ccee524 Mon Sep 17 00:00:00 2001 From: Keith Hall Date: Mon, 2 Oct 2017 11:19:04 +0300 Subject: [PATCH] [HTML] correctly scope comment punctuation --- HTML/HTML.sublime-syntax | 3 ++- HTML/syntax_test_html.html | 5 ++++- 2 files changed, 6 insertions(+), 2 deletions(-) diff --git a/HTML/HTML.sublime-syntax b/HTML/HTML.sublime-syntax index 471b036eff..f5001de5eb 100644 --- a/HTML/HTML.sublime-syntax +++ b/HTML/HTML.sublime-syntax @@ -26,10 +26,11 @@ contexts: - include: string-double-quoted - include: string-single-quoted - match: - ## ^ comment.block.html +## ^^^^^^^^^^^^^^^^ comment.block.html +## ^^^^ punctuation.definition.comment.begin.html +## ^^^ punctuation.definition.comment.end.html +## ^^^^^^^^^ - punctuation ## ^^^^^^^^^^^^^^^^^^^^^^^^^ comment.block.html