From 554df035bf9f9e8af18f32b2476a0490d3affbe5 Mon Sep 17 00:00:00 2001 From: Joursoir Date: Sun, 27 Jun 2021 10:00:35 +0000 Subject: don't use string as separate context --- man.sublime-syntax | 15 +++++++-------- 1 file changed, 7 insertions(+), 8 deletions(-) (limited to 'man.sublime-syntax') diff --git a/man.sublime-syntax b/man.sublime-syntax index e03aa83..093dcda 100644 --- a/man.sublime-syntax +++ b/man.sublime-syntax @@ -56,7 +56,13 @@ contexts: macros_line: - match: '"' scope: punctuation.definition.string.begin.man - push: string + push: + - meta_scope: string.quoted.double.man + - match: '"' + scope: punctuation.definition.string.end.man + pop: true + - match: '[^\\]\n' + pop: true - match: '{{numeric}}' scope: constant.numeric.man @@ -79,10 +85,3 @@ contexts: scope: keyword.control.man push: - meta_content_scope: markup.italic.man - - - string: - - meta_scope: string.quoted.double.man - - match: '"' - scope: punctuation.definition.string.end.man - pop: true -- cgit v1.2.3-18-g5258