aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--man.sublime-syntax15
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