aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorKaz Kylheku <kaz@kylheku.com>2023-10-13 16:44:38 -0700
committerKaz Kylheku <kaz@kylheku.com>2023-10-13 16:44:38 -0700
commit5bb370687f22001dab081200f430800d00305f9b (patch)
tree66f61a70f2c8b25296f45204981cc879dfbfb5b6
parentb46effa725441c193f43b8ff3e791b5b5ef82af3 (diff)
downloadmnpgr-5bb370687f22001dab081200f430800d00305f9b.tar.gz
mnpgr-5bb370687f22001dab081200f430800d00305f9b.tar.bz2
mnpgr-5bb370687f22001dab081200f430800d00305f9b.zip
Bugfix: spaces don't interrupt formatting.
- Undo the hack which was for the sake of Vim help syntax: that spaces return to normal mode. This was because Vim help syntax doesn't handles spaces as in *two words*; we had to typeset that as *two* *words*. That interferes with searchability though. We want {B{two words}B} and not {B{two}B} {B{words}B}.
-rwxr-xr-xmnpgr.tl2
1 files changed, 1 insertions, 1 deletions
diff --git a/mnpgr.tl b/mnpgr.tl
index df02279..deba513 100755
--- a/mnpgr.tl
+++ b/mnpgr.tl
@@ -51,7 +51,7 @@
(each ((tok (tok #/.\b.(\b.)?/ t line)))
(match-case tok
("")
- (`@{x #/ +/}` (output-text x :norm))
+ (`@{x #/ +/}` (output-text x cur-mode))
(`_\b@x\b@x` (output-text x :bital))
(`_\b@x` (output-text x :ital))
(`@x\b@x` (output-text x :bold))