diff options
author | Joursoir <chat@joursoir.net> | 2021-06-27 10:00:35 +0000 |
---|---|---|
committer | Joursoir <chat@joursoir.net> | 2021-06-27 10:00:35 +0000 |
commit | 554df035bf9f9e8af18f32b2476a0490d3affbe5 (patch) | |
tree | 27e7de7d9175cac8e3b60002e391c5295e0075d9 | |
parent | 3b4d3c634cee8060fa792a93cc49f6e439cd38ec (diff) | |
download | subl-syntax-man-554df035bf9f9e8af18f32b2476a0490d3affbe5.tar.gz subl-syntax-man-554df035bf9f9e8af18f32b2476a0490d3affbe5.tar.bz2 subl-syntax-man-554df035bf9f9e8af18f32b2476a0490d3affbe5.zip |
don't use string as separate context
-rw-r--r-- | man.sublime-syntax | 15 |
1 files changed, 7 insertions, 8 deletions
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 |