diff options
author | Joursoir <chat@joursoir.net> | 2021-06-29 11:45:21 +0000 |
---|---|---|
committer | Joursoir <chat@joursoir.net> | 2021-06-29 11:45:54 +0000 |
commit | 39a43c7528aff05e0b75180ded2562b1ee6acdd1 (patch) | |
tree | aac3a3723b1dae5f91781fffff9e2d4f517bcc74 | |
parent | 4d161fe6e3d4965223973a7e608de4ea1570898a (diff) | |
download | subl-syntax-man-39a43c7528aff05e0b75180ded2562b1ee6acdd1.tar.gz subl-syntax-man-39a43c7528aff05e0b75180ded2562b1ee6acdd1.tar.bz2 subl-syntax-man-39a43c7528aff05e0b75180ded2562b1ee6acdd1.zip |
fix formatting for font style macros
-rw-r--r-- | man.sublime-syntax | 5 |
1 files changed, 2 insertions, 3 deletions
diff --git a/man.sublime-syntax b/man.sublime-syntax index afd6665..4f1dadd 100644 --- a/man.sublime-syntax +++ b/man.sublime-syntax @@ -15,7 +15,6 @@ variables: font_size: (SM|SB)\b font_alt: (BI|IB|RI|IR|BR|RB)\b font_style: ([BRI]) - end_format: (?={{escape}}|{{cc}}) contexts: main: @@ -25,7 +24,7 @@ contexts: - match: (?={{escape}}{{font_style}}) push: font_styles with_prototype: - - match: '{{end_format}}' + - match: '(?={{escape}}|{{cc}})' meta_content_scope: markup.regular.man pop: true @@ -48,7 +47,7 @@ contexts: scope: keyword.control.man push: font_styles with_prototype: - - match: '{{end_format}}' + - match: '(?={{escape}}|$)' pop: true pop: true |