aboutsummaryrefslogtreecommitdiffstats
path: root/man.sublime-syntax
diff options
context:
space:
mode:
authorJoursoir <chat@joursoir.net>2021-06-27 09:43:44 +0000
committerJoursoir <chat@joursoir.net>2021-06-27 09:43:44 +0000
commit385e5f3d86c48ce2f5847290c7b56934b39eaad1 (patch)
tree9e4dc7f8ec12741d940d49465deef118cab0f285 /man.sublime-syntax
parent9b65c090d21dc9da6f9bdda2d41a3f9435efda2b (diff)
downloadsubl-syntax-man-385e5f3d86c48ce2f5847290c7b56934b39eaad1.tar.gz
subl-syntax-man-385e5f3d86c48ce2f5847290c7b56934b39eaad1.tar.bz2
subl-syntax-man-385e5f3d86c48ce2f5847290c7b56934b39eaad1.zip
don't use comment line as separate context
Diffstat (limited to 'man.sublime-syntax')
-rw-r--r--man.sublime-syntax11
1 files 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: '"'