From 385e5f3d86c48ce2f5847290c7b56934b39eaad1 Mon Sep 17 00:00:00 2001 From: Joursoir Date: Sun, 27 Jun 2021 09:43:44 +0000 Subject: don't use comment line as separate context --- man.sublime-syntax | 11 ++++------- 1 file changed, 4 insertions(+), 7 deletions(-) diff --git a/man.sublime-syntax b/man.sublime-syntax index ba2de71..cb38ccc 100644 --- a/man.sublime-syntax +++ b/man.sublime-syntax @@ -36,7 +36,10 @@ contexts: # Comments begin and finish at the end of the line - match: \\["#] scope: comment.man - push: line_comment + push: + - meta_scope: comment.line.man + - match: $ + pop: true macros: @@ -64,12 +67,6 @@ contexts: - meta_content_scope: markup.italic.man - line_comment: - - meta_scope: comment.line.man - - match: $ - pop: true - - string: - meta_scope: string.quoted.double.man - match: '"' -- cgit v1.2.3-18-g5258